Skip to content

Commit f86f90e

Browse files
authored
chore: GHA release - set permissions (#28)
Signed-off-by: Michal Fiedorowicz <[email protected]>
1 parent 65e261a commit f86f90e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ env:
1515
APP_NAME: diode-sdk-python
1616
PYTHON_PACKAGE_NAME: netboxlabs-diode-sdk
1717

18+
permissions:
19+
id-token: write
20+
contents: write
21+
1822
jobs:
1923
get-python-package-name:
2024
name: Get Python package name
@@ -126,9 +130,6 @@ jobs:
126130
needs: [ get-python-package-name, get-next-version ]
127131
runs-on: ubuntu-latest
128132
timeout-minutes: 5
129-
permissions:
130-
id-token: write
131-
contents: read
132133
env:
133134
BUILD_VERSION: ${{ needs.get-next-version.outputs.new-release-version }}
134135
BUILD_TRACK: release

0 commit comments

Comments
 (0)