Skip to content
Merged
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
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
pull_request:
branches: [ main ]

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
# CRITICAL FIX: 'cancel-in-progress: true' kills stuck/zombie runs that block the queue.
# Using 'github.workflow' ensures this only affects this specific pipeline.
concurrency:
group: "pages"
cancel-in-progress: false
cancel-in-progress: true

jobs:
# Quality Gate: Lint and Type Check
Expand Down Expand Up @@ -81,7 +81,8 @@ jobs:
deploy-pages:
name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build-audit
# OPTIMIZATION: Depends on 'analyze-and-test' instead of 'build-audit' to run faster
needs: analyze-and-test
runs-on: ubuntu-latest
permissions:
pages: write
Expand Down Expand Up @@ -116,4 +117,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
Loading