There was an error while loading. Please reload this page.
changelog: released entry changed
--allow-released-changes
1 parent ffbac15 commit 745d7baCopy full SHA for 745d7ba
.github/workflows/changelog.yml
@@ -10,6 +10,8 @@ on:
10
- opened
11
- synchronize
12
- reopened
13
+ - labeled
14
+ - unlabeled
15
16
env:
17
#
@@ -42,6 +44,7 @@ jobs:
42
44
with:
43
45
fetch-depth: 0
46
47
+ # NOTE: Keep label name(s) in sync. with `xtask`'s implementation.
48
- name: Run `cargo xtask changelog …`
49
run: |
- cargo xtask changelog "origin/${{ github.event.pull_request.base.ref }}"
50
+ cargo xtask changelog "origin/${{ github.event.pull_request.base.ref }}" ${{ contains(github.event.pull_request.labels.*.name, 'changelog: released entry changed') && '--allow-released-changes' || '' }}
0 commit comments