Skip to content

chore(ci): gate automatic workflow triggers to manual - #2

Merged
mrhegemon merged 1 commit into
masterfrom
chore/add-workflow-concurrency
Aug 3, 2026
Merged

chore(ci): gate automatic workflow triggers to manual#2
mrhegemon merged 1 commit into
masterfrom
chore/add-workflow-concurrency

Conversation

@mrhegemon

Copy link
Copy Markdown
Member

What

  • Adds a concurrency block to 3 workflow(s) so superseded runs are cancelled instead of running to completion. Deploy and release paths get cancel-in-progress: false - they queue rather than being interrupted mid-flight.

Why

Automatic triggers (push/pull_request/schedule) are replaced with
workflow_dispatch so these workflows stop consuming billed GitHub-hosted
minutes. The original trigger block is preserved as a comment above the
replacement; ci-local restore puts it back exactly.

workflow_dispatch inputs and workflow_call are carried across unchanged, so
manual runs keep their form and reusable workflows keep working for callers.

Checks move to local hardware via ci-local run and a pre-push hook.

Concurrency added

  • codeql.yml
  • release.yml
  • test.yml

Reverting

The original triggers are preserved verbatim as a comment block above each replacement:

ci-local restore --repo systeminformation --apply

Deploy-on-merge and tag-triggered release workflows are deliberately left on their automatic triggers.

Without a `concurrency` block, pushing three commits to a branch runs the whole
suite three times and pays for all three. The group is scoped to the ref so
different branches never cancel each other.

Deploy and release workflows use `cancel-in-progress: false`: interrupting one
mid-flight can leave a half-published artifact, so they queue instead.

Added a concurrency block to 3 workflow(s).
@mrhegemon
mrhegemon merged commit 5a5f93e into master Aug 3, 2026
24 checks passed
@mrhegemon
mrhegemon deleted the chore/add-workflow-concurrency branch August 3, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant