Skip to content

Commit

Permalink
Pin differential-shellcheck to v3 tag (#1162)
Browse files Browse the repository at this point in the history
Pins the differential-shellcheck to v3 instead of using latest to avoid API changes breaking existing CI.

Also removes unneeded write permissions.
  • Loading branch information
jamacku authored Dec 9, 2022
1 parent cfde4e7 commit ce05e20
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ jobs:
lint:
runs-on: ubuntu-latest

permissions:
security-events: write
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@v1
with:
fetch-depth: 0

- name: Lint shell scripts
uses: redhat-plumbers-in-action/differential-shellcheck@latest
uses: redhat-plumbers-in-action/differential-shellcheck@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ce05e20

Please sign in to comment.