Skip to content

Commit

Permalink
feat: Add milestone.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 13, 2024
1 parent 10a55ed commit cd4f110
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/milestone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Set the Milestone of a merged Pull Request.
# The Milestone is automatically selected to the next open and due date Milestone
name: Update Milestone

on:
pull_request_target:
types: [closed]

jobs:
update:
runs-on: ubuntu-latest
name: update-milestone
if: ${{github.event.pull_request.merged == true}}

steps:
- uses: radcortez/milestone-set-action@main
name: milestone set
with:
github-token: ${{secrets.GITHUB_TOKEN}}

0 comments on commit cd4f110

Please sign in to comment.