ci: scope push trigger to main/dev branches #3
Workflow file for this run
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
| # Source repo guard-main-docs wrapper — calls the centralized reusable workflow. | |
| # Copy to .github/workflows/guard-main-docs.yml in repos with guarded docs. | |
| # | |
| # Blocks compound-engineering docs (plans, solutions, brainstorms, reviews) | |
| # from being merged into main. Only needs pull-requests: read. | |
| name: Guard main from engineering docs | |
| on: | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| guard-docs: | |
| uses: brettdavies/.github/.github/workflows/guard-main-docs.yml@main |