diff --git a/.github/workflows/milestone-merged-prs.yaml b/.github/workflows/milestone-merged-prs.yaml new file mode 100644 index 00000000000..b4b5d0bc338 --- /dev/null +++ b/.github/workflows/milestone-merged-prs.yaml @@ -0,0 +1,18 @@ +name: Milestone + +on: + pull_request_target: + types: + - closed + branches: + - "main" + +jobs: + milestone_pr: + name: attach to PR + runs-on: ubuntu-latest + steps: + - uses: scientific-python/attach-next-milestone-action@f94a5235518d4d34911c41e19d780b8e79d42238 + with: + token: ${{ secrets.MILESTONE_LABELER_TOKEN }} + force: true