Skip to content
Snippets Groups Projects
Unverified Commit 108833a9 authored by Jamie Magee's avatar Jamie Magee Committed by GitHub
Browse files

ci: give write permissions to release phase only (#16394)

parent 1454b602
No related merge requests found
...@@ -15,9 +15,7 @@ on: ...@@ -15,9 +15,7 @@ on:
required: false required: false
permissions: permissions:
contents: write contents: read
issues: write
pull-requests: write
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
...@@ -150,6 +148,10 @@ jobs: ...@@ -150,6 +148,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# release shouldn't need more than 5 min # release shouldn't need more than 5 min
timeout-minutes: 15 timeout-minutes: 15
permissions:
contents: write
issues: write
pull-requests: write
steps: steps:
# full checkout for semantic-release # full checkout for semantic-release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment