feat: Support Close milestone for a repository by title or number #28
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
# Description: | |
# - Update milestone of a merged PR | |
name: Milestone Action@Release | |
on: | |
pull_request_target: | |
types: [closed] | |
# Fix GraphQL: Resource not accessible by integration (updatePullRequest) | |
permissions: | |
contents: write | |
jobs: | |
update-milestone: | |
runs-on: ubuntu-latest | |
name: Milestone Update | |
steps: | |
- name: Set Milestone | |
uses: hustcer/milestone-action@main | |
with: | |
github-token: ${{ secrets.PAT }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |