Apps/shared configs/0xc loader #117
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
| name: Branch naming policy | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, edited, ready_for_review] | |
| jobs: | |
| check-branch-name: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout (no submodules needed) | |
| uses: actions/checkout@v4 | |
| - name: Read policy | |
| id: policy | |
| run: | | |
| regex=$(python .github/scripts/read_branch_policy.py) | |
| echo "regex=$regex" >> $GITHUB_OUTPUT | |
| - name: Validate branch name | |
| env: | |
| BRANCH: ${{ github.head_ref || github.ref_name }} | |
| REGEX: ${{ steps.policy.outputs.regex }} | |
| run: | | |
| echo "Branch: $BRANCH" | |
| echo "Regex : $REGEX" | |
| python .github/scripts/validate_branch_name.py |