Skip to content

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

Open
mrhegemon wants to merge 1 commit into
mainfrom
chore/gate-actions-to-manual
Open

chore(ci): gate automatic workflow triggers to manual#32
mrhegemon wants to merge 1 commit into
mainfrom
chore/gate-actions-to-manual

Conversation

@mrhegemon

Copy link
Copy Markdown
Member

What

  • Gates 1 workflow(s) down to workflow_dispatch (manual runs only).
  • Caps artifact retention-days on 1 workflow(s). Actions storage is billed wherever the job ran, so gating alone does not reduce it.

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.

Gated workflows

  • docker-publish.yml

Retention capped

  • docker-publish.yml

Reverting

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

ci-local restore --repo Local-Bench --apply

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

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.

Gated 1 workflow(s). Capped artifact retention on 1.
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