Skip to content

Commit f05e1e8

Browse files
authored
Merge pull request #294 from getyourguide/add-workflow-permissions-to-other-workflows
SEC-3057 Define other workflow permissions
2 parents d4377a6 + 9966f55 commit f05e1e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
release:
55
types: [published]
66

7+
permissions:
8+
deployments: read
9+
contents: read
10+
711
concurrency:
812
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
913
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}

0 commit comments

Comments
 (0)