Skip to content

Commit 808c9ae

Browse files
committed
github: Fix changelog generator config.
1 parent c77bffb commit 808c9ae

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ on:
1616
- '!**/README.md'
1717

1818
permissions:
19-
contents: read
19+
contents: write
20+
pull-requests: read
2021

2122
jobs:
2223
build:
2324
runs-on: ubuntu-latest
24-
permissions:
25-
contents: write
2625
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
2726
steps:
2827
- name: '⏳ Checkout repository'
@@ -44,8 +43,6 @@ jobs:
4443
- name: "✏️ Generate changelog"
4544
id: changelog
4645
uses: mikepenz/release-changelog-builder-action@v3
47-
with:
48-
toTag: ${{ github.sha }}
4946
env:
5047
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5148

0 commit comments

Comments
 (0)