Skip to content

Commit

Permalink
fix: Use the right permissions in release workflow's token (#1228)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
  • Loading branch information
JorTurFer authored Dec 26, 2024
1 parent 87e713c commit 317d474
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ on:
push:
tags: ["v[0-9].[0-9].[0-9]"]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready**

Expand Down

0 comments on commit 317d474

Please sign in to comment.