From: Frantisek Sumsal Date: Tue, 28 Mar 2023 13:08:33 +0000 (+0200) Subject: ci: run differential shellcheck on push as well X-Git-Tag: v15~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33a33967819443ee03137459eec85cd5db6c4bad;p=thirdparty%2Fmkosi.git ci: run differential shellcheck on push as well to get rid of the annoying message on new PRs. Also, update the action to the latest version and drop now unnecessary permissions. See: https://github.com/redhat-plumbers-in-action/differential-shellcheck/issues/215 Addresses: https://github.com/systemd/mkosi/pull/1413#issuecomment-1486700752 --- diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml index 7e699a698..84dcf5355 100644 --- a/.github/workflows/differential-shellcheck.yml +++ b/.github/workflows/differential-shellcheck.yml @@ -3,6 +3,9 @@ name: Differential ShellCheck on: + push: + branches: + - main pull_request: branches: - main @@ -16,7 +19,6 @@ jobs: permissions: security-events: write - pull-requests: write steps: - name: Repository checkout @@ -25,6 +27,6 @@ jobs: fetch-depth: 0 - name: Differential ShellCheck - uses: redhat-plumbers-in-action/differential-shellcheck@v2 + uses: redhat-plumbers-in-action/differential-shellcheck@v4 with: token: ${{ secrets.GITHUB_TOKEN }}