Skip to content

Commit

Permalink
fix permissions error in java-release (#517)
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway authored Jan 29, 2025
1 parent 68cc7d2 commit c13eed9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ permissions: {}

jobs:
ci:
permissions:
contents: read
uses: ./.github/workflows/java-build.yml

strip-tag:
Expand All @@ -27,6 +29,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ci, strip-tag]
permissions:
contents: read # to checkout code
id-token: write # to sign with sigstore
steps:
- name: checkout tag
Expand Down

0 comments on commit c13eed9

Please sign in to comment.