An action that attaches the next open milestone to merged PRs.
Currently, this action only looks at milestones that can be parsed as version numbers.
Typical usage:
# .github/workflows/milestone-merged-prs.yaml
name: Milestone
on:
pull_request_target:
types:
- closed
jobs:
milestone_pr:
name: attach to PR
runs-on: ubuntu-latest
steps:
- uses: scientific-python/attach-next-milestone@main
with:
token: ${{ secrets.MILESTONE_LABELER_TOKEN }}