ci: drop unnecessary permissions and ping GitHub Action to the major version tag

Jan Macku
2022-11-26 14:58:56 +01:00
parent 6d50f7cec1
commit 5dbb9c1854

@@ -19,10 +19,6 @@ jobs:
test:
runs-on: ubuntu-latest
permissions:
security-events: write
pull-requests: write
steps:
- name: Repository checkout
uses: actions/checkout@v3
@@ -30,7 +26,8 @@ jobs:
fetch-depth: 0
- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@latest
uses: redhat-plumbers-in-action/differential-shellcheck@v3
with:
severity: warning
token: ${{ secrets.GITHUB_TOKEN }}
```