Skip to content

Commit

Permalink
Update release-draft.yml
Browse files Browse the repository at this point in the history
- Limits permissions of draft release creation workflow

Signed-off-by: Esta Nagy <[email protected]>
  • Loading branch information
nagyesta authored Jul 28, 2024
1 parent 1e6437c commit d380b05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
tags:
- v*

permissions:
contents: read

jobs:
build:
name: Draft release action
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Create release
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
Expand Down

0 comments on commit d380b05

Please sign in to comment.