Skip to content

Commit e1f8cde

Browse files
committed
Update workflow permission
1 parent d209915 commit e1f8cde

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/apigee-release-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ defaults:
44
shell: bash # Explicitly sets pipeline to fail if any subprocess fails
55
on:
66
push
7-
permissions: read-all
7+
permissions:
8+
contents: read
89

910
jobs:
1011
deploy-hello-world:

.github/workflows/spec-release-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ defaults:
44
shell: bash # Explicitly sets pipeline to fail if any subprocess fails
55
on:
66
push
7-
permissions: read-all
7+
permissions:
8+
contents: read
89

910
jobs:
1011
deploy-hello-world-spec:

0 commit comments

Comments
 (0)