Skip to content

Commit ad50183

Browse files
authored
Merge pull request #2796 from bsipocz/ci_no_changelog_milestone_but_milestonebot
CI: no milestone check with changelog, but use milestone action
2 parents e492b9b + ba39fb2 commit ad50183

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check change log entry
17-
uses: scientific-python/action-check-changelogfile@865ff8154dd94f008f08de6bb8d8c1f661113658
17+
uses: scientific-python/action-check-changelogfile@064f2005176e1622e7c2bd9776140406609097d1
1818
env:
1919
CHANGELOG_FILENAME: CHANGES.rst
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
CHECK_MILESTONE: false

.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)