Skip to content

Refactor the ArtifactInfo class (#4526) #17

Refactor the ArtifactInfo class (#4526)

Refactor the ArtifactInfo class (#4526) #17

Workflow file for this run

name: Differential ShellCheck
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Repository checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v5
with:
# Keep exclusions in sync with shellcheck-py hook in .pre-commit-config.yaml
exclude-path: |
tests/**
examples/**
tmt/steps/execute/scripts/*.sh.j2
tmt/templates/**
token: ${{ secrets.GITHUB_TOKEN }}
- if: ${{ always() }}
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@v6
with:
name: Differential ShellCheck SARIF
path: ${{ steps.ShellCheck.outputs.sarif }}