Skip to content

Commit

Permalink
add auto assign milestone GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
jjw24 committed Jun 16, 2024
1 parent b7c3e80 commit b436951
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr_milestone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Set Milestone

# Assigns the earliest created milestone that matches the below glob pattern.

on:
pull_request:
types: [opened]

jobs:
automation:
runs-on: ubuntu-latest

steps:
- name: set-milestone
uses: andrefcdias/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
milestone: "+([0-9]).+([0-9]).+([0-9])"
use-expression: true

0 comments on commit b436951

Please sign in to comment.