Skip to content

Commit

Permalink
Merge pull request #6177 from jamacku/main
Browse files Browse the repository at this point in the history
Fix failing Differential ShellCheck job
  • Loading branch information
KKoukiou authored Feb 28, 2025
2 parents a9c0f46 + d4bbd7d commit cab4668
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Differential ShellCheck
on:
push:
branches: [ main, rhel-*, fedora-* ]
pull_request:
branches: [ main, rhel-*, fedora-* ]

Expand All @@ -9,8 +10,9 @@ permissions:

jobs:
lint:
if: github.event.repository == 'rhinstaller/anaconda'
runs-on: ubuntu-latest

permissions:
security-events: write
pull-requests: write
Expand All @@ -23,15 +25,15 @@ jobs:

- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
uses: redhat-plumbers-in-action/differential-shellcheck@v5
with:
severity: warning
token: ${{ secrets.GITHUB_TOKEN }}
exclude-path: |
*.j2
**/*.j2
- if: ${{ always() }}
- if: ${{ runner.debug == '1' && ! cancelled()}}
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit cab4668

Please sign in to comment.