Skip to content

ci: cancel superseded runs outside main - #94

Merged
ExtraToast merged 1 commit into
mainfrom
ci/cancel-superseded-runs
Oct 26, 2026
Merged

ExtraToast merged 1 commit into
mainfrom
ci/cancel-superseded-runs

Conversation

@ExtraToast

Copy link
Copy Markdown
Contributor

What

Adds the estate concurrency block to the workflows below that had none, or switches one that cancelled unconditionally to the guarded form:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
  • .github/workflows/deploy-preview.yml: added
  • .github/workflows/repository-hygiene.yml: added

Why

Every push to a pull request started a fresh run while the previous one, whose result nobody reads any more, kept its runner until it finished. Superseded runs now cancel as soon as a newer push lands. Runs on main are never cancelled mid-flight. This is the same block ~40 ci.yml files in the estate already carry.

@ExtraToast ExtraToast added the type: chore Maintenance work without intended behavior change. label Oct 26, 2026
@github-actions

Copy link
Copy Markdown

Deploy Preview — agents-api

Environments: production
Context ref: ghcr.io/jorisjonkers-dev/cluster-deploy-context-public@sha256:95dc39fc695694c8fb4b0c538d7fe13038d407c7302c3725c98f0496c6a83499
Workloads: 1 | Routes: 1 | Gatus endpoints: 1

Image refs

  • agents-api: ghcr.io/jorisjonkers-dev/agents-api/agents-api@sha256:0000000000000000000000000000000000000000000000000000000000000000

SC-11 Readiness Scorecard

Check Status Detail
✅ schema_pinned pass
✅ context_pinned pass
✅ no_latest_images pass
✅ health_declared pass
✅ route_owner_authmode_declared pass
✅ rollback_retention_acknowledged pass
✅ no_raw_secrets pass
➖ stateful_policy_declared not_applicable deployment declares no stateful workloads
➖ raw_manifests_guarded not_applicable no workload enables rawManifests
➖ npm_signatures_verified not_applicable provenance is only evaluated when publishing an artifact

pass = ready · fail = blocks deployment · not_applicable = check does not apply

➖ 3 check(s) not applicable: stateful_policy_declared, raw_manifests_guarded, npm_signatures_verified


Updated by deploy-check on push to this PR.

@ExtraToast
ExtraToast merged commit 8fd5854 into main Oct 26, 2026
10 checks passed
@ExtraToast
ExtraToast deleted the ci/cancel-superseded-runs branch October 26, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance work without intended behavior change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant