Skip to content

Commit

Permalink
Restrict cd permissions to contents: write
Browse files Browse the repository at this point in the history
This is the minimum permission needed to create/modify GH releases.

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Apr 22, 2022
1 parent d5458be commit 3c2b162
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
tags:
- v*

permissions:
contents: write

jobs:
test:
Expand Down

0 comments on commit 3c2b162

Please sign in to comment.