mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-24 02:24:32 +08:00
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:
parent
e5905c4b84
commit
189a01f7a7
2
.github/workflows/static-code-analysis.yml
vendored
2
.github/workflows/static-code-analysis.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user