Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

pull_request:

permissions: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand All @@ -22,6 +24,8 @@ env:
PNPM_VERSION: 10.11.0
# renovate: datasource=docker depName=postgres
POSTGRES_VERSION: 16
# renovate: datasource=pypi depName=zizmor
ZIZMOR_VERSION: 1.7.0

jobs:
changed-files:
Expand Down Expand Up @@ -69,10 +73,16 @@ jobs:
with:
files: Cargo.lock

- uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46.0.4
id: changed-files-ci
with:
files: .github/workflows/**

outputs:
non-js: ${{ steps.changed-files-non-js.outputs.any_modified }}
non-rust: ${{ steps.changed-files-non-rust.outputs.any_modified }}
rust-lockfile: ${{ steps.changed-files-rust-lockfile.outputs.any_modified }}
ci: ${{ steps.changed-files-ci.outputs.any_modified }}

percy-nonce:
name: Frontend / Percy Nonce
Expand Down Expand Up @@ -300,3 +310,25 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 14

zizmor:
name: CI / Lint
runs-on: ubuntu-24.04
needs: changed-files
if: needs.changed-files.outputs.ci == 'true'
permissions:
security-events: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
- run: uvx zizmor@${ZIZMOR_VERSION} --format=sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
with:
sarif_file: results.sarif
category: zizmor
2 changes: 2 additions & 0 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Smoke Test
on:
workflow_dispatch:

permissions: {}

concurrency:
group: smoke-test
cancel-in-progress: true
Expand Down
Loading