chore(deps): bump actions/setup-python from 5.3.0 to 5.4.0 (#4398) #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint GitHub Actions | |
on: | |
push: | |
paths: | |
- '.github/workflows/*.ya?ml' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '.github/workflows/*.ya?ml' | |
concurrency: | |
group: "actionlint-${{ github.ref }}" | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
permissions: {} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
- name: lint wit zizmor | |
run: | | |
pipx install zizmor | |
zizmor --gh-token ${{ secrets.GITHUB_TOKEN }} --format sarif . > results.sarif || true | |
- name: Upload SARIF file | |
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | |
with: | |
name: results.sarif | |
path: results.sarif | |
upload: | |
needs: lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Download SARIF file | |
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | |
with: | |
name: results.sarif | |
path: results.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4 # v3.28.5 | |
with: | |
sarif_file: results.sarif | |
category: actions-zizmor |