Skip to content

chore(NODE-5474): move id-token permission to workflow #3778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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