ci(scrape): enable daily staged cron + document ledger-to-main bypass requirement#21
Merged
Conversation
…-to-main bypass reality Enable the daily schedule (00:30 UTC = 06:00 IST). LAUNCH_MODE stays 'staged', so each cron run only opens/updates the data-review PR — nothing publishes without a human merge. Begins the operational rehearsal week; counts toward the 2/day cap. CONTRIBUTING §Operations: document that github-actions[bot] CANNOT be granted ruleset bypass (GitHub 422), so LEDGER_TO_MAIN requires SCRAPE_BOT_TOKEN to be an admin PAT or a repo-installed GitHub App added to the main-protection bypass (push-only; PR + checks stay enforced for everyone else). Kept LEDGER_TO_MAIN off until such a token exists, so runs don't fail on the blocked push.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Your directive #2 (cron), plus the bypass documentation for #1.
Cron enabled — daily 06:00 IST staged run;
LAUNCH_MODEstays staged (opens/updates the data-review PR only, no publish). Rehearsal week begins; counts toward the 2/day cap.Ledger-to-main (#1) is blocked, honestly reported:
github-actions[bot]cannot be added to the ruleset bypass — GitHub returns 422 ("the Actions integration must be part of the ruleset source or owner org"). So the bypass path needsSCRAPE_BOT_TOKENto be an admin PAT or a repo-installed GitHub App added to themain-protectionbypass (push-only). Documented in CONTRIBUTING §Operations;LEDGER_TO_MAINstays off until then so runs don't fail on the push. (The ruleset is unchanged — my add attempts 422'd and applied nothing.)