Skip to content

infra: bump actions/checkout from 3 to 4 #2210

infra: bump actions/checkout from 3 to 4

infra: bump actions/checkout from 3 to 4 #2210

---
name: Differential ShellCheck
on:
push:
pull_request:
branches: [ master, rhel-* ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
permissions:
security-events: write
pull-requests: write
steps:
- name: Repository checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
severity: warning
token: ${{ secrets.GITHUB_TOKEN }}
exclude-path:
- '*.j2'

Check failure on line 33 in .github/workflows/differential-shellcheck.yml

View workflow run for this annotation

GitHub Actions / Differential ShellCheck

Invalid workflow file

The workflow is not valid. .github/workflows/differential-shellcheck.yml (Line: 33, Col: 13): A sequence was not expected
- '**/*.j2'
- if: ${{ always() }}
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@v3
with:
name: Differential ShellCheck SARIF
path: ${{ steps.ShellCheck.outputs.sarif }}
...