Skip to content

Docs: automation bypass for branch rules#109

Open
zcapshaw wants to merge 2 commits into
mainfrom
docs/automation-bypass-config
Open

Docs: automation bypass for branch rules#109
zcapshaw wants to merge 2 commits into
mainfrom
docs/automation-bypass-config

Conversation

@zcapshaw

Copy link
Copy Markdown
Contributor

Summary

  • Adds docs/automation-and-branch-rules.md explaining how to keep PR requirements for OSS contributors while allowing GitHub Actions to push generated files to main.
  • Restores direct push in Enrich GitHub metrics (no bot PR) once bypass is configured.

Required org/repo settings (manual)

These cannot be set via this PR alone:

  1. Ruleset bypass: Settings → Rules → rules → Bypass list → add GitHub ActionsAlways allow
  2. Workflow token: Org must allow write permissions for GITHUB_TOKEN (currently org policy forces read-only on this repo)

See the doc for full details and troubleshooting GH013.

Made with Cursor

zcapshaw and others added 2 commits May 25, 2026 15:35
Open a PR instead of pushing to main, and refresh github-metrics.json for all recipes with source URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Explains how to keep PR requirements for contributors while allowing GitHub Actions to commit generated metrics once bypass and workflow permissions are configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
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