Commit 432ac21
committed
.github/workflows/release: grant release-bazel permissions
Trying to fix:
The workflow is not valid.
.github/workflows/release.yml (Line: 46, Col: 26): Invalid secret, BCR_PUBLISH_TOKEN is not defined in the referenced workflow.
.github/workflows/release.yml (Line: 40, Col: 3): Error calling workflow 'google/re2/.github/workflows/release-bazel.yml@932b308'. The nested job 'release' is requesting 'attestations: write, contents: write, id-token: write', but is only allowed 'attestations: none, contents: read, id-token: none'.
I made the secret repo-wide instead of being scoped to the bcr-push environment.
Not 100% sure that will fix that error.
The changes in this CL should fix the second error.
Change-Id: I7d1a537dd3d464fe0d99e612ae843a14243d24af
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63950
Reviewed-by: Jeremy Kun <[email protected]>
Reviewed-by: Russ Cox <[email protected]>1 parent 932b308 commit 432ac21
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
0 commit comments