Skip to content

Commit

Permalink
chore(NODE-5474): move id-token permission to workflow (#3778)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken authored Jul 20, 2023
1 parent 579219c commit 6a5c492
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ on:
permissions:
contents: write
pull-requests: write
id-token: write

name: release-4x

jobs:
release-please:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- id: release
uses: google-github-actions/release-please-action@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ on:
required: true
type: string

permissions:
id-token: write

name: release-alpha

jobs:
release-alpha:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- shell: bash
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ on:
# As long as the commit hash has changed on main a release will be published
workflow_dispatch: {}

permissions:
id-token: write

name: release-nightly

jobs:
release-nightly:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: actions/setup
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ on:
permissions:
contents: write
pull-requests: write
id-token: write

name: release

jobs:
release-please:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- id: release
uses: google-github-actions/release-please-action@v3
Expand Down

0 comments on commit 6a5c492

Please sign in to comment.