Skip to content

Commit ba39fb2

Browse files
committed
CI: using milestone action to add it on merge
1 parent 32df895 commit ba39fb2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/milestone.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Milestone -- Add latest if missing on merge
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
branches:
8+
- 'main'
9+
10+
jobs:
11+
milestone_pr:
12+
name: attach missing milestone to PR
13+
if: github.event.pull_request.merged == true
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: scientific-python/attach-next-milestone-action@a4889cfde7d2578c1bc7400480d93910d2dd34f6
17+
env:
18+
GITHUB_TOKEN:: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)