Skip to content

ci: gate hosted workflows behind a CI_ENABLED switch - #48

Merged
CheckPickerUpper merged 1 commit into
developmentfrom
ci-toggle
Aug 17, 2026
Merged

CheckPickerUpper merged 1 commit into
developmentfrom
ci-toggle

Conversation

@CheckPickerUpper

@CheckPickerUpper CheckPickerUpper commented Aug 17, 2026 •

Copy link
Copy Markdown
Owner

Linked issue

Closes #47

Observable behavior

Every hosted workflow job is gated on a single CI_ENABLED repository variable. The variable is read as "not false", so an absent variable leaves CI running and a fresh clone keeps its gate. Pausing CI is an explicit, visible opt-out in repository settings rather than a deleted workflow.

Proof

  • gh variable list shows CI_ENABLED=false
  • Compiler contracts run locally against the pinned official Luau toolchain (af6afddc651f3e8a272b1742d7f56695f9a9a278):
    • cargo fmt --check clean
    • cargo clippy --all-targets --all-features --locked -- -D warnings clean
    • cargo test --all-targets --locked with LUAU_BIN, LUAU_ANALYZE_BIN, and LUAU_COMPILE_BIN set: 43 test binaries, 43 passed, 0 failed

The Actions minute budget is exhausted for the next month, so every hosted
job needs one switch that turns them off without deleting the gate.

CI_ENABLED is read as "not false", so an absent variable keeps CI running.
A fresh clone therefore gets the contracts rather than silence, and pausing
is an explicit, visible opt-out in repository settings.

Claude-Session: https://claude.ai/code/session_01WuRrc3VMHiR8Qik1Sxj3zM
@CheckPickerUpper
CheckPickerUpper merged commit 40cf56d into development Aug 17, 2026
2 of 3 checks passed
@CheckPickerUpper
CheckPickerUpper deleted the ci-toggle branch August 17, 2026 16:18
@github-actions

Copy link
Copy Markdown

Visual recap — skipped

The visual recap job did not run for this pull request. This is informational only and does not block the PR.

Recap skipped for a29b7e1: missing required recap label (visual-recap).

CheckPickerUpper added a commit that referenced this pull request Nov 23, 2026
The Actions minute budget is exhausted for the next month, so every hosted
job needs one switch that turns them off without deleting the gate.

CI_ENABLED is read as "not false", so an absent variable keeps CI running.
A fresh clone therefore gets the contracts rather than silence, and pausing
is an explicit, visible opt-out in repository settings.
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.

Compiler contracts never run on stacked pull requests

1 participant