GitHub Actions: add separate zizmor job for security scanning #285
Workflow file for this run
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: ci | ||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
pull_request: | ||
concurrency: | ||
group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}} | ||
cancel-in-progress: true | ||
permissions: {} | ||
jobs: | ||
prechecks: | ||
uses: ./.github/workflows/pre-commit.yml | ||
separate-zizmor: | ||
Check failure on line 18 in .github/workflows/ci.yml
|
||
uses: ./.github/workflows/zizmor.yml | ||
all-prechecks: | ||
needs: [prechecks, separate-zizmor] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Success | ||
run: "true" | ||
unit-tests: | ||
needs: [all-prechecks] | ||
uses: ./.github/workflows/test_and_package.yml | ||
pixi: | ||
needs: [all-prechecks] | ||
uses: ./.github/workflows/pixi.yml | ||
publish: | ||
needs: [unit-tests, pixi] | ||
uses: ./.github/workflows/publish.yml | ||
all: | ||
needs: [unit-tests, pixi, publish] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Success | ||
run: "true" |