This action is dedicated to help managing GitHub Milestones. It will check if there are any open issues or pull requests associated with the milestone, and if there are no open issues or pull requests left on the milestone, it will close the milestone.
Additionally, it will close any standalone open milestones that have no pull requests or issues linked where the due date has passed. This can also be performed by manually triggering the action.
name: Close Milestone
on:
pull_request:
types: [closed]
issues:
types: [closed]
workflow_dispatch:
jobs:
close-milestone:
name: Close Milestone
runs-on: ubuntu-latest
steps:
- name: Run Close Milestone Action
id: run-close-milestone-action
uses: synergy-au/[email protected]
with:
secrets-token: ${{ secrets.GITHUB_TOKEN }}
secrets-token
The Secrets Github Token used for authenticating Github API calls.
- required: true
None