Bump WordPress/props-bot-action from fb269fe7afe5868bfc9cb7d49dc4662876c86816 to 80e849eb48a10e9df2ecce3ed8441d9d531d089c #13513
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: Pull Request Validation | |
| on: | |
| pull_request: | |
| branches: | |
| - trunk | |
| - 'release/**' | |
| - 'feature/**' | |
| types: | |
| - labeled | |
| - unlabeled | |
| - milestoned | |
| - demilestoned | |
| - opened | |
| - reopened | |
| - synchronize | |
| - edited | |
| env: | |
| LABELS: ${{ join( github.event.pull_request.labels.*.name, ' ' ) }} | |
| jobs: | |
| check-type-label: | |
| name: Check [Type] Label | |
| runs-on: ubuntu-latest | |
| steps: | |
| - if: contains( env.LABELS, '[Type]' ) == false | |
| run: exit 1 | |
| check-milestone: | |
| name: Check Milestone | |
| runs-on: ubuntu-latest | |
| steps: | |
| - if: github.event.pull_request.milestone == null && contains( env.LABELS, 'no milestone' ) == false | |
| run: exit 1 |