Skip to content

Commit 810ad6b

Browse files
authored
Update release.yml
1 parent 4084dbb commit 810ad6b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,15 @@ jobs:
3333
uses: pypa/gh-action-pypi-publish@master
3434
with:
3535
password: ${{ secrets.PYPI_PASSWORD }}
36-
- uses: rhysd/changelog-from-release/action@v2
37-
with:
38-
file: CHANGELOG.md
39-
github_token: ${{ secrets.GITHUB_TOKEN }}
40-
36+
changelog:
37+
name: Update changelog
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
with:
42+
ref: master
43+
- uses: rhysd/changelog-from-release/action@v2
44+
with:
45+
file: CHANGELOG.md
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
47+

0 commit comments

Comments
 (0)