Skip to content

Commit eddd398

Browse files
authored
[DOWNSTREAM TEST] Update GitHub Actions workflows. (#741)
This PR was automatically generated by the pull-request workflow in the pulumi/ci-mgmt repo, from commit f76cbff100ad8e6e3192b379edb5bcf1f536eb3e.
1 parent 6d616bc commit eddd398

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
@@ -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
@@ -225,6 +226,8 @@ jobs:
225226
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
226227
- name: Setup Tools
227228
uses: ./.github/actions/setup-tools
229+
with:
230+
github_token: ${{ secrets.GITHUB_TOKEN }}
228231
- name: Download Provider Binary
229232
uses: ./.github/actions/download-provider
230233
- name: Generate SDK
@@ -389,6 +392,8 @@ jobs:
389392
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
390393
- name: Setup Tools
391394
uses: ./.github/actions/setup-tools
395+
with:
396+
github_token: ${{ secrets.GITHUB_TOKEN }}
392397
- name: Download Provider Binary
393398
uses: ./.github/actions/download-provider
394399
- name: Download SDK
@@ -459,6 +464,8 @@ jobs:
459464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
460465
- name: Setup Tools
461466
uses: ./.github/actions/setup-tools
467+
with:
468+
github_token: ${{ secrets.GITHUB_TOKEN }}
462469
- name: Clear GitHub Actions Ubuntu runner disk space
463470
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
464471
with:
@@ -536,6 +543,8 @@ jobs:
536543
- run: echo "ci-scripts" >> .git/info/exclude
537544
- name: Setup Tools
538545
uses: ./.github/actions/setup-tools
546+
with:
547+
github_token: ${{ secrets.GITHUB_TOKEN }}
539548
- name: Download python SDK
540549
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
541550
with:
@@ -595,6 +604,8 @@ jobs:
595604
ref: ${{ env.PR_COMMIT_SHA }}
596605
- name: Setup Tools
597606
uses: ./.github/actions/setup-tools
607+
with:
608+
github_token: ${{ secrets.GITHUB_TOKEN }}
598609
- name: Disarm go:embed directives to enable linters that compile source code
599610
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
600611
's/go:embed/ goembed/g'

.github/workflows/prerelease.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
uses: ./.github/actions/setup-tools
4646
with:
4747
cache: 'true'
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
4849
- if: github.event_name == 'pull_request'
4950
name: Install Schema Tools
5051
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -214,6 +215,8 @@ jobs:
214215
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
215216
- name: Setup Tools
216217
uses: ./.github/actions/setup-tools
218+
with:
219+
github_token: ${{ secrets.GITHUB_TOKEN }}
217220
- name: Download Provider Binary
218221
uses: ./.github/actions/download-provider
219222
- name: Generate SDK
@@ -342,6 +345,8 @@ jobs:
342345
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
343346
- name: Setup Tools
344347
uses: ./.github/actions/setup-tools
348+
with:
349+
github_token: ${{ secrets.GITHUB_TOKEN }}
345350
- name: Download Provider Binary
346351
uses: ./.github/actions/download-provider
347352
- name: Download SDK
@@ -412,6 +417,8 @@ jobs:
412417
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
413418
- name: Setup Tools
414419
uses: ./.github/actions/setup-tools
420+
with:
421+
github_token: ${{ secrets.GITHUB_TOKEN }}
415422
- name: Clear GitHub Actions Ubuntu runner disk space
416423
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
417424
with:
@@ -489,6 +496,8 @@ jobs:
489496
- run: echo "ci-scripts" >> .git/info/exclude
490497
- name: Setup Tools
491498
uses: ./.github/actions/setup-tools
499+
with:
500+
github_token: ${{ secrets.GITHUB_TOKEN }}
492501
- name: Download python SDK
493502
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
494503
with:
@@ -563,6 +572,8 @@ jobs:
563572
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
564573
- name: Setup Tools
565574
uses: ./.github/actions/setup-tools
575+
with:
576+
github_token: ${{ secrets.GITHUB_TOKEN }}
566577
- name: Download java SDK
567578
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
568579
with:

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
uses: ./.github/actions/setup-tools
4949
with:
5050
cache: 'true'
51+
github_token: ${{ secrets.GITHUB_TOKEN }}
5152
- if: github.event_name == 'pull_request'
5253
name: Install Schema Tools
5354
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -217,6 +218,8 @@ jobs:
217218
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
218219
- name: Setup Tools
219220
uses: ./.github/actions/setup-tools
221+
with:
222+
github_token: ${{ secrets.GITHUB_TOKEN }}
220223
- name: Download Provider Binary
221224
uses: ./.github/actions/download-provider
222225
- name: Generate SDK
@@ -345,6 +348,8 @@ jobs:
345348
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
346349
- name: Setup Tools
347350
uses: ./.github/actions/setup-tools
351+
with:
352+
github_token: ${{ secrets.GITHUB_TOKEN }}
348353
- name: Download Provider Binary
349354
uses: ./.github/actions/download-provider
350355
- name: Download SDK
@@ -415,6 +420,8 @@ jobs:
415420
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
416421
- name: Setup Tools
417422
uses: ./.github/actions/setup-tools
423+
with:
424+
github_token: ${{ secrets.GITHUB_TOKEN }}
418425
- name: Clear GitHub Actions Ubuntu runner disk space
419426
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
420427
with:
@@ -492,6 +499,8 @@ jobs:
492499
- run: echo "ci-scripts" >> .git/info/exclude
493500
- name: Setup Tools
494501
uses: ./.github/actions/setup-tools
502+
with:
503+
github_token: ${{ secrets.GITHUB_TOKEN }}
495504
- name: Download python SDK
496505
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
497506
with:
@@ -566,6 +575,8 @@ jobs:
566575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
567576
- name: Setup Tools
568577
uses: ./.github/actions/setup-tools
578+
with:
579+
github_token: ${{ secrets.GITHUB_TOKEN }}
569580
- name: Download java SDK
570581
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
571582
with:

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
uses: ./.github/actions/setup-tools
7777
with:
7878
cache: 'true'
79+
github_token: ${{ secrets.GITHUB_TOKEN }}
7980
- if: github.event_name == 'pull_request'
8081
name: Install Schema Tools
8182
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -249,6 +250,8 @@ jobs:
249250
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
250251
- name: Setup Tools
251252
uses: ./.github/actions/setup-tools
253+
with:
254+
github_token: ${{ secrets.GITHUB_TOKEN }}
252255
- name: Download provider
253256
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
254257
with:
@@ -390,6 +393,8 @@ jobs:
390393
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
391394
- name: Setup Tools
392395
uses: ./.github/actions/setup-tools
396+
with:
397+
github_token: ${{ secrets.GITHUB_TOKEN }}
393398
- name: Download provider
394399
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
395400
with:
@@ -493,6 +498,8 @@ jobs:
493498
ref: ${{ env.PR_COMMIT_SHA }}
494499
- name: Setup Tools
495500
uses: ./.github/actions/setup-tools
501+
with:
502+
github_token: ${{ secrets.GITHUB_TOKEN }}
496503
- name: Disarm go:embed directives to enable linters that compile source code
497504
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
498505
'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
@@ -36,6 +36,8 @@ jobs:
3636
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
3737
- name: Setup Tools
3838
uses: ./.github/actions/setup-tools
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
3941
- name: Update Pulumi/Pulumi
4042
id: gomod
4143
run: >-

0 commit comments

Comments
 (0)