Skip to content

Commit

Permalink
chore: GHA release - set permissions (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Fiedorowicz <[email protected]>
  • Loading branch information
mfiedorowicz authored Nov 27, 2024
1 parent 65e261a commit f86f90e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ env:
APP_NAME: diode-sdk-python
PYTHON_PACKAGE_NAME: netboxlabs-diode-sdk

permissions:
id-token: write
contents: write

jobs:
get-python-package-name:
name: Get Python package name
Expand Down Expand Up @@ -126,9 +130,6 @@ jobs:
needs: [ get-python-package-name, get-next-version ]
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
id-token: write
contents: read
env:
BUILD_VERSION: ${{ needs.get-next-version.outputs.new-release-version }}
BUILD_TRACK: release
Expand Down

0 comments on commit f86f90e

Please sign in to comment.