Skip to content

Release 4.25.2

Release 4.25.2 #2091

Workflow file for this run

name: Pull Request Validation
on:
pull_request:
types: [opened, reopened, synchronize, milestoned, demilestoned]
jobs:
check-milestone:
name: Check Milestone
runs-on: ubuntu-latest
steps:
- name: Check PR milestone
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
run: |
PR_DATA=$(gh api /repos/$REPO/pulls/$PR_NUMBER)
MILESTONE=$(echo $PR_DATA | jq -r '.milestone')
if [ "$MILESTONE" = "null" ]; then
echo "This PR is missing a milestone."
exit 1
fi