Skip to content

Commit 7bd29ba

Browse files
Add minimum token permissions for all github workflow files (#1892)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
1 parent a053315 commit 7bd29ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/layer-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ on:
4242
type: string
4343

4444
permissions:
45-
id-token: write
4645
contents: read
4746

4847
jobs:
4948
publish_layer:
49+
permissions:
50+
id-token: write # required for AWS OIDC authentication
5051
runs-on: ubuntu-latest
5152

5253
steps:

0 commit comments

Comments
 (0)