Skip to content

Commit 89b4971

Browse files
authored
Fix upgrade-provider token permissions (#1715)
Fixes pulumi/pulumi-xyz#1293. Refs #1481.
1 parent aa10b55 commit 89b4971

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

provider-ci/internal/pkg/templates/bridged/.github/workflows/upgrade-provider.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
upgrade_provider:
3333
name: upgrade-provider
3434
runs-on: #{{ .Config.Runner.Default }}#
35+
permissions: write-all
3536
steps:
3637
#{{- if .Config.FreeDiskSpaceBeforeBuild }}#
3738
# Run as first step so we don't delete things that have just been installed

provider-ci/test-providers/acme/.github/workflows/upgrade-provider.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
upgrade_provider:
3232
name: upgrade-provider
3333
runs-on: ubuntu-latest
34+
permissions: write-all
3435
steps:
3536
- name: Checkout Repo
3637
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

provider-ci/test-providers/aws/.github/workflows/upgrade-provider.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
upgrade_provider:
3232
name: upgrade-provider
3333
runs-on: ubuntu-latest
34+
permissions: write-all
3435
steps:
3536
# Run as first step so we don't delete things that have just been installed
3637
- name: Free Disk Space (Ubuntu)

provider-ci/test-providers/docker/.github/workflows/upgrade-provider.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
upgrade_provider:
3232
name: upgrade-provider
3333
runs-on: ubuntu-latest
34+
permissions: write-all
3435
steps:
3536
- name: Checkout Repo
3637
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

provider-ci/test-providers/xyz/.github/workflows/upgrade-provider.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
upgrade_provider:
3232
name: upgrade-provider
3333
runs-on: ubuntu-latest
34+
permissions: write-all
3435
steps:
3536
- name: Checkout Repo
3637
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)