Skip to content

Commit

Permalink
add milestone workflow from rosys
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalzauberzeug committed Jul 12, 2024
1 parent 25ee98f commit b739dec
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/milestone_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Milestone Assigned

on:
pull_request:
types: [milestoned, demilestoned, opened]

jobs:
check-milestone:
runs-on: ubuntu-latest

steps:
- name: Check for milestone
run: |
if [ -z "${{ github.event.pull_request.milestone }}" ]; then
echo "No milestone assigned to the pull request."
exit 1
fi

0 comments on commit b739dec

Please sign in to comment.