mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix permissions for release.yaml (#7220)
* Fix permissions for release.yaml - 0.15.0 release currently borked * Move permissions to individual job targets
This commit is contained in:
parent
5c0cd23bed
commit
3eae5096e3
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@ -5,12 +5,12 @@ on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
stable:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
@ -30,6 +30,9 @@ jobs:
|
||||
|
||||
publish-build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # pin@v4.1.5
|
||||
- name: Environment Setup
|
||||
|
Loading…
Reference in New Issue
Block a user