Repository navigation
Release gate: v0.40-dev → v0.40 (waits for cross-repo E2E) #372
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
| name: Branch Policy | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, edited, ready_for_review] | |
| push: | |
| branches: | |
| - "**" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| branch-policy: | |
| name: Validate branch policy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate branch policy | |
| env: | |
| GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} | |
| run: ./.github/scripts/validate-branch-policy.sh |