Skip to content

Commit f15c988

Browse files
authored
Update GitHub Actions workflows. (#892)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit f76cbff100ad8e6e3192b379edb5bcf1f536eb3e.
1 parent 9e5d546 commit f15c988

File tree

6 files changed

+47
-2
lines changed

6 files changed

+47
-2
lines changed

.github/actions/setup-tools/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ inputs:
55
cache:
66
description: Enable caching
77
required: false
8-
default: 'false'
8+
default: "false"
9+
github_token:
10+
description: GitHub token
11+
required: true
912

1013
runs:
1114
using: "composite"
@@ -15,9 +18,9 @@ runs:
1518
with:
1619
# Latest working version. See https://github.com/jdx/mise/discussions/6781
1720
version: 2025.10.16
18-
github_token: ${{ github.token }}
1921
cache_key: "mise-{{platform}}-{{file_hash}}"
2022
cache_save: ${{ inputs.cache }}
23+
github_token: ${{ inputs.github_token }}
2124

2225
- name: Setup Go Cache
2326
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
uses: ./.github/actions/setup-tools
6868
with:
6969
cache: 'true'
70+
github_token: ${{ secrets.GITHUB_TOKEN }}
7071
- if: github.event_name == 'pull_request'
7172
name: Install Schema Tools
7273
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -201,6 +202,8 @@ jobs:
201202
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
202203
- name: Setup Tools
203204
uses: ./.github/actions/setup-tools
205+
with:
206+
github_token: ${{ secrets.GITHUB_TOKEN }}
204207
- name: Download Provider Binary
205208
uses: ./.github/actions/download-provider
206209
- name: Generate SDK
@@ -353,6 +356,8 @@ jobs:
353356
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
354357
- name: Setup Tools
355358
uses: ./.github/actions/setup-tools
359+
with:
360+
github_token: ${{ secrets.GITHUB_TOKEN }}
356361
- name: Download Provider Binary
357362
uses: ./.github/actions/download-provider
358363
- name: Download SDK
@@ -417,6 +422,8 @@ jobs:
417422
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
418423
- name: Setup Tools
419424
uses: ./.github/actions/setup-tools
425+
with:
426+
github_token: ${{ secrets.GITHUB_TOKEN }}
420427
- name: Clear GitHub Actions Ubuntu runner disk space
421428
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
422429
with:
@@ -488,6 +495,8 @@ jobs:
488495
- run: echo "ci-scripts" >> .git/info/exclude
489496
- name: Setup Tools
490497
uses: ./.github/actions/setup-tools
498+
with:
499+
github_token: ${{ secrets.GITHUB_TOKEN }}
491500
- name: Download python SDK
492501
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
493502
with:
@@ -547,6 +556,8 @@ jobs:
547556
ref: ${{ env.PR_COMMIT_SHA }}
548557
- name: Setup Tools
549558
uses: ./.github/actions/setup-tools
559+
with:
560+
github_token: ${{ secrets.GITHUB_TOKEN }}
550561
- name: Disarm go:embed directives to enable linters that compile source code
551562
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
552563
's/go:embed/ goembed/g'

.github/workflows/prerelease.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
uses: ./.github/actions/setup-tools
5757
with:
5858
cache: 'true'
59+
github_token: ${{ secrets.GITHUB_TOKEN }}
5960
- if: github.event_name == 'pull_request'
6061
name: Install Schema Tools
6162
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -190,6 +191,8 @@ jobs:
190191
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191192
- name: Setup Tools
192193
uses: ./.github/actions/setup-tools
194+
with:
195+
github_token: ${{ secrets.GITHUB_TOKEN }}
193196
- name: Download Provider Binary
194197
uses: ./.github/actions/download-provider
195198
- name: Generate SDK
@@ -312,6 +315,8 @@ jobs:
312315
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
313316
- name: Setup Tools
314317
uses: ./.github/actions/setup-tools
318+
with:
319+
github_token: ${{ secrets.GITHUB_TOKEN }}
315320
- name: Download Provider Binary
316321
uses: ./.github/actions/download-provider
317322
- name: Download SDK
@@ -376,6 +381,8 @@ jobs:
376381
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
377382
- name: Setup Tools
378383
uses: ./.github/actions/setup-tools
384+
with:
385+
github_token: ${{ secrets.GITHUB_TOKEN }}
379386
- name: Clear GitHub Actions Ubuntu runner disk space
380387
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
381388
with:
@@ -447,6 +454,8 @@ jobs:
447454
- run: echo "ci-scripts" >> .git/info/exclude
448455
- name: Setup Tools
449456
uses: ./.github/actions/setup-tools
457+
with:
458+
github_token: ${{ secrets.GITHUB_TOKEN }}
450459
- name: Download python SDK
451460
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
452461
with:
@@ -515,6 +524,8 @@ jobs:
515524
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
516525
- name: Setup Tools
517526
uses: ./.github/actions/setup-tools
527+
with:
528+
github_token: ${{ secrets.GITHUB_TOKEN }}
518529
- name: Download java SDK
519530
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
520531
with:

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
uses: ./.github/actions/setup-tools
6060
with:
6161
cache: 'true'
62+
github_token: ${{ secrets.GITHUB_TOKEN }}
6263
- if: github.event_name == 'pull_request'
6364
name: Install Schema Tools
6465
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -193,6 +194,8 @@ jobs:
193194
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
194195
- name: Setup Tools
195196
uses: ./.github/actions/setup-tools
197+
with:
198+
github_token: ${{ secrets.GITHUB_TOKEN }}
196199
- name: Download Provider Binary
197200
uses: ./.github/actions/download-provider
198201
- name: Generate SDK
@@ -315,6 +318,8 @@ jobs:
315318
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
316319
- name: Setup Tools
317320
uses: ./.github/actions/setup-tools
321+
with:
322+
github_token: ${{ secrets.GITHUB_TOKEN }}
318323
- name: Download Provider Binary
319324
uses: ./.github/actions/download-provider
320325
- name: Download SDK
@@ -379,6 +384,8 @@ jobs:
379384
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
380385
- name: Setup Tools
381386
uses: ./.github/actions/setup-tools
387+
with:
388+
github_token: ${{ secrets.GITHUB_TOKEN }}
382389
- name: Clear GitHub Actions Ubuntu runner disk space
383390
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
384391
with:
@@ -450,6 +457,8 @@ jobs:
450457
- run: echo "ci-scripts" >> .git/info/exclude
451458
- name: Setup Tools
452459
uses: ./.github/actions/setup-tools
460+
with:
461+
github_token: ${{ secrets.GITHUB_TOKEN }}
453462
- name: Download python SDK
454463
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
455464
with:
@@ -518,6 +527,8 @@ jobs:
518527
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
519528
- name: Setup Tools
520529
uses: ./.github/actions/setup-tools
530+
with:
531+
github_token: ${{ secrets.GITHUB_TOKEN }}
521532
- name: Download java SDK
522533
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
523534
with:

.github/workflows/run-acceptance-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
uses: ./.github/actions/setup-tools
8282
with:
8383
cache: 'true'
84+
github_token: ${{ secrets.GITHUB_TOKEN }}
8485
- if: github.event_name == 'pull_request'
8586
name: Install Schema Tools
8687
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -219,6 +220,8 @@ jobs:
219220
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
220221
- name: Setup Tools
221222
uses: ./.github/actions/setup-tools
223+
with:
224+
github_token: ${{ secrets.GITHUB_TOKEN }}
222225
- name: Download provider
223226
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
224227
with:
@@ -354,6 +357,8 @@ jobs:
354357
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
355358
- name: Setup Tools
356359
uses: ./.github/actions/setup-tools
360+
with:
361+
github_token: ${{ secrets.GITHUB_TOKEN }}
357362
- name: Download provider
358363
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
359364
with:
@@ -451,6 +456,8 @@ jobs:
451456
ref: ${{ env.PR_COMMIT_SHA }}
452457
- name: Setup Tools
453458
uses: ./.github/actions/setup-tools
459+
with:
460+
github_token: ${{ secrets.GITHUB_TOKEN }}
454461
- name: Disarm go:embed directives to enable linters that compile source code
455462
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
456463
's/go:embed/ goembed/g'

.github/workflows/weekly-pulumi-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
uses: ./.github/actions/esc-action
4242
- name: Setup Tools
4343
uses: ./.github/actions/setup-tools
44+
with:
45+
github_token: ${{ secrets.GITHUB_TOKEN }}
4446
- name: Update Pulumi/Pulumi
4547
id: gomod
4648
run: >-

0 commit comments

Comments
 (0)