ci(non-gitlab): [agent6] Misc updates #17207
Workflow file for this run
This file contains 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: "Milestone analysis" | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, milestoned, demilestoned] | |
branches: | |
- main | |
- "[0-9]+.[0-9]+.x" | |
jobs: | |
milestone: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check milestone | |
run: | | |
milestone="${{github.event.pull_request.milestone.title}}" | |
if [[ "$milestone" != "triage" ]]; then | |
echo "Milestone: $milestone" | |
exit 0 | |
fi | |
echo "PR ${{github.event.number}} requires a non-Triage milestone." | |
exit 1 |