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
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
branches:
- main

concurrency:
group: ci-${{ github.ref }}
# Cancel in-progress runs on PR branches (force-push from gt submit)
# but never on main where post-merge CI must complete.
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_API: ${{ secrets.TURBO_API }}
Expand Down Expand Up @@ -324,5 +330,5 @@ jobs:
echo "| Test (App) | \`${{ needs.test-app.result }}\` |" >> "$GITHUB_STEP_SUMMARY"

- name: Check for failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
if: (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) && !cancelled()
run: exit 1
Loading