mise-action/.github/workflows
jdx c6a35e2d7d
chore(ci): use !cancelled() instead of always() for final job (#460)
## Summary
- Combined with the workflow's `cancel-in-progress` group, `if:
always()` overrides cancellation and runs the `final` aggregator even on
superseded commits.
- `!cancelled()` still runs on upstream success or failure but skips
when the workflow is cancelled — saves a runner and avoids confusing
error annotations on already-superseded shas.
- Caught by Cursor Bugbot on a sibling repo (endevco/pitchfork#413).
Same `final`-aggregator pattern + `cancel-in-progress: true` here, so
the same fix applies.

## Test plan
- [ ] CI passes on this PR

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk CI-only change that just adjusts when the `final` job runs;
main risk is slightly different status reporting when runs are
cancelled.
> 
> **Overview**
> Updates the GitHub Actions `final` aggregator job to use `if: ${{
!cancelled() }}` instead of `always()`, so it still runs for upstream
success/failure but **does not** run for cancelled workflows (e.g.,
superseded runs under `cancel-in-progress`).
> 
> Adds clarifying comments to document why cancellation should skip the
aggregator to avoid wasting runners and producing noise on cancelled
commits.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
4c62d5f2f1. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 10:27:10 -05:00
..
autofix.yml chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
check-dist.yml chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
ci.yml chore: migrate package manager from npm/pnpm/bun to aube (#455) 2026-04-29 09:13:34 -05:00
codeql-analysis.yml chore(deps): update github/codeql-action digest to e46ed2c (#459) 2026-05-01 14:48:27 +00:00
pr-closer.yml ci: add workflow to auto-close stale PRs (#409) 2026-03-22 11:02:34 -05:00
release-plz.yml chore(deps): update jdx/mise-action action to v4 (#431) 2026-04-10 17:46:00 +00:00
release.yml chore(deps): update jdx/mise-action action to v4 (#431) 2026-04-10 17:46:00 +00:00
semantic-pr-lint.yml chore(deps): update amannn/action-semantic-pull-request action to v6 (#426) 2026-04-11 16:08:28 +00:00
test-redacted-env.yml chore(deps): update actions/checkout digest to de0fac2 (#374) 2026-02-06 07:26:12 -06:00
test.yml chore(ci): use !cancelled() instead of always() for final job (#460) 2026-05-03 10:27:10 -05:00