Skip to content

Translated using Weblate (Chinese (Simplified) (zh_CN)) #33

Translated using Weblate (Chinese (Simplified) (zh_CN))

Translated using Weblate (Chinese (Simplified) (zh_CN)) #33

---
name: Differential ShellCheck
on:
push:
pull_request:
branches: [ main, rhel*-branch ]
jobs:
lint:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- 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 }}
...