]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
ci: update Differential ShellCheck
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 31 Mar 2023 12:56:23 +0000 (14:56 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 31 Mar 2023 13:54:39 +0000 (15:54 +0200)
Run on pushes and drop unnecessary write access.

Should avoid pull-requests comments like
https://github.com/shadow-maint/shadow/pull/695#issuecomment-1491876950

.github/workflows/static-code-analysis.yml

index 10dab8cede3479423fb8ec9365dd602efd2492d7..c0741bee103e64f3bc92a0b59a5d90a1b74fdc34 100644 (file)
@@ -38,13 +38,11 @@ jobs:
       uses: github/codeql-action/analyze@v2
 
   differential-shellcheck:
-    if: github.event_name == 'pull_request'
     runs-on: ubuntu-latest
 
     permissions:
       contents: read
       security-events: write
-      pull-requests: write
 
     steps:
       - name: Checkout repository