Skip to content

Commit

Permalink
build: harden version.yml permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <[email protected]>
  • Loading branch information
sashashura committed Sep 25, 2022
1 parent e87ab4e commit 084bdbb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ on:
tags:
- '*.*.*'

permissions: {}
jobs:
build:
permissions:
contents: write # to create branch (peter-evans/create-pull-request)
pull-requests: write # to create a PR (peter-evans/create-pull-request)

runs-on: ubuntu-latest
steps:
- name: GitHub App token
Expand Down

0 comments on commit 084bdbb

Please sign in to comment.