Skip to content

Commit 464ecaa

Browse files
cicd(.github): fixes label creation permissions for release-please.
1 parent 8ab424d commit 464ecaa

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/go.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: go
2-
on: [pull_request]
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
38
jobs:
49
lint:
510
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
permissions:
99
contents: write
10+
# issues permission enables label management
11+
# https://github.com/googleapis/release-please-action/issues/1105#issuecomment-2780292262
12+
issues: write
1013
pull-requests: write
1114

1215
jobs:

0 commit comments

Comments
 (0)