Skip to content

Commit 39eb19f

Browse files
committed
fix: permission to write the changelogs and tags
1 parent 756a808 commit 39eb19f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/bump-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
jobs:
1616
bump:
1717
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
1820
steps:
1921
- name: Setup Python
2022
uses: actions/setup-python@v5

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
bump-packages:
4444
if: needs.detect-changes.outputs.changed-packages != '[]' && !startsWith(github.event.head_commit.message, 'bump:')
4545
needs: detect-changes
46+
permissions:
47+
contents: write
4648
strategy:
4749
matrix:
4850
package: ${{ fromJson(needs.detect-changes.outputs.changed-packages) }}

0 commit comments

Comments
 (0)