ci: update Differential ShellCheck

Run on pushes and drop unnecessary write access.

Should avoid pull-requests comments like
https://github.com/shadow-maint/shadow/pull/695#issuecomment-1491876950
This commit is contained in:
Christian Göttsche 2023-03-31 14:56:23 +02:00 committed by Iker Pedrosa
parent e5905c4b84
commit 189a01f7a7

View 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