From ae2a381d7c698538b1a1d82039d863c5d5ef29aa Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Tue, 23 Jul 2024 00:29:20 +0300 Subject: [PATCH] #57: copyrights --- .github/workflows/copyrights.yml | 32 ++++++++++++++++++++++++++++++++ .github/workflows/make.yml | 4 ++++ 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/copyrights.yml diff --git a/.github/workflows/copyrights.yml b/.github/workflows/copyrights.yml new file mode 100644 index 0000000..7c22729 --- /dev/null +++ b/.github/workflows/copyrights.yml @@ -0,0 +1,32 @@ +# MIT License +# +# Copyright (c) 2024 Zerocracy +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +--- +name: copyrights +'on': + push: + pull_request: +jobs: + copyrights: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: yegor256/copyrights-action@0.0.5 diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 8a2b825..2d874b0 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -23,7 +23,11 @@ name: make 'on': push: + branches: + - master pull_request: + branches: + - master jobs: make: runs-on: ubuntu-22.04