Skip to content

Commit

Permalink
ci: give publish workflow correct perms (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo authored Nov 8, 2024
1 parent 984a24b commit 7bebd06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:

runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -37,6 +41,10 @@ jobs:

runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
contents: write
pull-requests: write

outputs:
release_created: ${{ steps.release-please-run.outputs.release_created }}
tag_name: ${{ steps.release-please-run.outputs.tag_name }}

steps:
- uses: googleapis/release-please-action@v4
id: release-please-run
Expand Down

0 comments on commit 7bebd06

Please sign in to comment.