Skip to content

Commit 4c23389

Browse files
authored
chore: Fix permissions on the release workflow (#42)
1 parent 103ed17 commit 4c23389

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pr-title-caller.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55

66
permissions:
77
contents: read
8+
pull-requests: read
89

910
jobs:
1011
pr-title:
1112
uses: ./.github/workflows/pr-title.yml
1213
secrets: inherit
13-

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ on:
66
- main
77

88
permissions:
9-
contents: read
10-
packages: read
9+
contents: write
10+
issues: write
11+
pull-requests: write
1112

1213
jobs:
1314
release:
1415
uses: ./.github/workflows/semantic-release.yml
1516
with:
16-
node-version: '20'
17+
node-version: "20"
1718
secrets: inherit
1819

1920
confirm-release:
@@ -22,4 +23,3 @@ jobs:
2223
runs-on: ubuntu-latest
2324
steps:
2425
- run: echo "A new release was created!"
25-

0 commit comments

Comments
 (0)