Skip to content

Commit 7aa4291

Browse files
authored
Update GitHub Actions workflows. (#758)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit f90df7559c86efa5ae3108b58c7d554865f2eb56.
1 parent de6e2a0 commit 7aa4291

18 files changed

+26
-28
lines changed

.github/workflows/build_provider.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
go-provider-${{ matrix.platform.os }}-${{ matrix.platform.arch }}-
7272
- name: Prepare local workspace before restoring previously built
7373
run: make prepare_local_workspace
74+
env:
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7476
- name: Restore prerequisites
7577
uses: ./.github/actions/download-prerequisites
7678
- name: Restore makefile progress

.github/workflows/build_sdk.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
type: string
1111

1212
env:
13-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1413
PULUMI_API: https://api.pulumi-staging.io
1514
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
1615
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
@@ -49,6 +48,8 @@ jobs:
4948
tools: pulumictl, pulumicli, ${{ matrix.language }}
5049
- name: Prepare local workspace
5150
run: make prepare_local_workspace
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5253
- name: Download prerequisites
5354
uses: ./.github/actions/download-prerequisites
5455
- name: Update path

.github/workflows/command-dispatch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
22

33
env:
4-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
PULUMI_API: https://api.pulumi-staging.io
65
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
76
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget

.github/workflows/license.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
inputs: {}
88

99
env:
10-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1110
PULUMI_API: https://api.pulumi-staging.io
1211
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
1312
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
@@ -29,6 +28,8 @@ jobs:
2928
cache-go: false
3029
- run: make prepare_local_workspace
3130
continue-on-error: true
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
- uses: pulumi/license-check-action@main
3334
with:
3435
module-path: provider

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
inputs: {}
88

99
env:
10-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1110
PULUMI_API: https://api.pulumi-staging.io
1211
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
1312
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
@@ -36,6 +35,8 @@ jobs:
3635
- name: prepare workspace
3736
continue-on-error: true
3837
run: make prepare_local_workspace
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3940
- name: golangci-lint
4041
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
4142
with:

.github/workflows/main-post-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
required: true
1111

1212
env:
13-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1413
PULUMI_API: https://api.pulumi-staging.io
1514
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
1615
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget

.github/workflows/master.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
22

33
env:
4-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
PULUMI_API: https://api.pulumi-staging.io
65
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
76
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
87
TF_APPEND_USER_AGENT: pulumi
98
jobs:
109
prerequisites:
10+
permissions:
11+
contents: read
12+
pull-requests: write
1113
uses: ./.github/workflows/prerequisites.yml
1214
secrets: inherit
1315
with:

.github/workflows/prerelease.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
env:
44
IS_PRERELEASE: true
5-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65
PULUMI_API: https://api.pulumi-staging.io
76
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
87
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
98
TF_APPEND_USER_AGENT: pulumi
109
jobs:
1110
prerequisites:
11+
permissions:
12+
contents: read
13+
pull-requests: write
1214
uses: ./.github/workflows/prerequisites.yml
1315
secrets: inherit
1416
with:

.github/workflows/prerequisites.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ on:
2020
value: ${{ jobs.prerequisites.outputs.version }}
2121

2222
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2423
PULUMI_API: https://api.pulumi-staging.io
2524
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
2625
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
@@ -30,6 +29,9 @@ jobs:
3029
prerequisites:
3130
name: prerequisites
3231
runs-on: ubuntu-latest
32+
permissions:
33+
contents: read
34+
pull-requests: write
3335
outputs:
3436
version: ${{ steps.provider-version.outputs.version }}
3537
steps:

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ on:
2121

2222
env:
2323
IS_PRERELEASE: ${{ inputs.isPrerelease }}
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2524
PULUMI_API: https://api.pulumi-staging.io
2625
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
2726
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget

0 commit comments

Comments
 (0)