Skip to content

Commit 9db8b09

Browse files
committed
[internal] Update GitHub Actions workflow files
1 parent a11e333 commit 9db8b09

File tree

7 files changed

+61
-6
lines changed

7 files changed

+61
-6
lines changed

.config/mise.lock

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ url_api = "https://api.github.com/repos/pulumi/schema-tools/releases/assets/1187
2828
version = "1.24.10"
2929
backend = "core:go"
3030

31+
[tools.go.platforms.linux-x64]
32+
checksum = "sha256:dd52b974e3d9c5a7bbfb222c685806def6be5d6f7efd10f9caa9ca1fa2f47955"
33+
size = 78693970
34+
url = "https://dl.google.com/go/go1.24.10.linux-amd64.tar.gz"
35+
3136
[[tools.golangci-lint]]
3237
version = "1.64.8"
3338
backend = "aqua:golangci/golangci-lint"
@@ -69,9 +74,14 @@ version = "1.22.22"
6974
backend = "npm:yarn"
7075

7176
[[tools.pulumi]]
72-
version = "3.206.0"
77+
version = "3.207.0"
7378
backend = "aqua:pulumi/pulumi"
7479

80+
[tools.pulumi.platforms.linux-x64]
81+
checksum = "sha256:6ebc94fdf98833f4573b6a086f636f53c59245a490f516e03b875dabc41514a6"
82+
size = 94603881
83+
url = "https://github.com/pulumi/pulumi/releases/download/v3.207.0/pulumi-v3.207.0-linux-x64.tar.gz"
84+
7585
[[tools.python]]
7686
version = "3.11.8"
7787
backend = "core:python"

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,25 @@ 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"
1215
steps:
1316
- name: Setup mise
14-
uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3
17+
uses: jdx/mise-action@9dc7d5dd454262207dea3ab5a06a3df6afc8ff26 # v3
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
23-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
26+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2427
with:
2528
cache: ${{ inputs.cache }}
2629
cache-dependency-path: |

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
uses: ./.github/actions/setup-tools
6262
with:
6363
cache: 'true'
64+
github_token: ${{ secrets.GITHUB_TOKEN }}
6465
- if: github.event_name == 'pull_request'
6566
name: Install Schema Tools
6667
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -230,6 +231,8 @@ jobs:
230231
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
231232
- name: Setup Tools
232233
uses: ./.github/actions/setup-tools
234+
with:
235+
github_token: ${{ secrets.GITHUB_TOKEN }}
233236
- name: Download Provider Binary
234237
uses: ./.github/actions/download-provider
235238
- name: Generate SDK
@@ -394,6 +397,8 @@ jobs:
394397
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
395398
- name: Setup Tools
396399
uses: ./.github/actions/setup-tools
400+
with:
401+
github_token: ${{ secrets.GITHUB_TOKEN }}
397402
- name: Download Provider Binary
398403
uses: ./.github/actions/download-provider
399404
- name: Download SDK
@@ -469,6 +474,8 @@ jobs:
469474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
470475
- name: Setup Tools
471476
uses: ./.github/actions/setup-tools
477+
with:
478+
github_token: ${{ secrets.GITHUB_TOKEN }}
472479
- name: Clear GitHub Actions Ubuntu runner disk space
473480
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
474481
with:
@@ -546,6 +553,8 @@ jobs:
546553
- run: echo "ci-scripts" >> .git/info/exclude
547554
- name: Setup Tools
548555
uses: ./.github/actions/setup-tools
556+
with:
557+
github_token: ${{ secrets.GITHUB_TOKEN }}
549558
- name: Download python SDK
550559
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
551560
with:
@@ -605,6 +614,8 @@ jobs:
605614
ref: ${{ env.PR_COMMIT_SHA }}
606615
- name: Setup Tools
607616
uses: ./.github/actions/setup-tools
617+
with:
618+
github_token: ${{ secrets.GITHUB_TOKEN }}
608619
- name: Disarm go:embed directives to enable linters that compile source code
609620
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
610621
's/go:embed/ goembed/g'

.github/workflows/prerelease.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
uses: ./.github/actions/setup-tools
5151
with:
5252
cache: 'true'
53+
github_token: ${{ secrets.GITHUB_TOKEN }}
5354
- if: github.event_name == 'pull_request'
5455
name: Install Schema Tools
5556
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 Binary
223226
uses: ./.github/actions/download-provider
224227
- name: Generate SDK
@@ -347,6 +350,8 @@ jobs:
347350
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
348351
- name: Setup Tools
349352
uses: ./.github/actions/setup-tools
353+
with:
354+
github_token: ${{ secrets.GITHUB_TOKEN }}
350355
- name: Download Provider Binary
351356
uses: ./.github/actions/download-provider
352357
- name: Download SDK
@@ -422,6 +427,8 @@ jobs:
422427
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
423428
- name: Setup Tools
424429
uses: ./.github/actions/setup-tools
430+
with:
431+
github_token: ${{ secrets.GITHUB_TOKEN }}
425432
- name: Clear GitHub Actions Ubuntu runner disk space
426433
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
427434
with:
@@ -499,6 +506,8 @@ jobs:
499506
- run: echo "ci-scripts" >> .git/info/exclude
500507
- name: Setup Tools
501508
uses: ./.github/actions/setup-tools
509+
with:
510+
github_token: ${{ secrets.GITHUB_TOKEN }}
502511
- name: Download python SDK
503512
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
504513
with:
@@ -573,6 +582,8 @@ jobs:
573582
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
574583
- name: Setup Tools
575584
uses: ./.github/actions/setup-tools
585+
with:
586+
github_token: ${{ secrets.GITHUB_TOKEN }}
576587
- name: Download java SDK
577588
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
578589
with:

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
uses: ./.github/actions/setup-tools
5454
with:
5555
cache: 'true'
56+
github_token: ${{ secrets.GITHUB_TOKEN }}
5657
- if: github.event_name == 'pull_request'
5758
name: Install Schema Tools
5859
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -222,6 +223,8 @@ jobs:
222223
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
223224
- name: Setup Tools
224225
uses: ./.github/actions/setup-tools
226+
with:
227+
github_token: ${{ secrets.GITHUB_TOKEN }}
225228
- name: Download Provider Binary
226229
uses: ./.github/actions/download-provider
227230
- name: Generate SDK
@@ -350,6 +353,8 @@ jobs:
350353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
351354
- name: Setup Tools
352355
uses: ./.github/actions/setup-tools
356+
with:
357+
github_token: ${{ secrets.GITHUB_TOKEN }}
353358
- name: Download Provider Binary
354359
uses: ./.github/actions/download-provider
355360
- name: Download SDK
@@ -425,6 +430,8 @@ jobs:
425430
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
426431
- name: Setup Tools
427432
uses: ./.github/actions/setup-tools
433+
with:
434+
github_token: ${{ secrets.GITHUB_TOKEN }}
428435
- name: Clear GitHub Actions Ubuntu runner disk space
429436
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
430437
with:
@@ -502,6 +509,8 @@ jobs:
502509
- run: echo "ci-scripts" >> .git/info/exclude
503510
- name: Setup Tools
504511
uses: ./.github/actions/setup-tools
512+
with:
513+
github_token: ${{ secrets.GITHUB_TOKEN }}
505514
- name: Download python SDK
506515
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
507516
with:
@@ -576,6 +585,8 @@ jobs:
576585
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
577586
- name: Setup Tools
578587
uses: ./.github/actions/setup-tools
588+
with:
589+
github_token: ${{ secrets.GITHUB_TOKEN }}
579590
- name: Download java SDK
580591
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
581592
with:

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

Lines changed: 8 additions & 1 deletion
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
@@ -254,6 +255,8 @@ jobs:
254255
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
255256
- name: Setup Tools
256257
uses: ./.github/actions/setup-tools
258+
with:
259+
github_token: ${{ secrets.GITHUB_TOKEN }}
257260
- name: Download provider
258261
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
259262
with:
@@ -395,6 +398,8 @@ jobs:
395398
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
396399
- name: Setup Tools
397400
uses: ./.github/actions/setup-tools
401+
with:
402+
github_token: ${{ secrets.GITHUB_TOKEN }}
398403
- name: Download provider
399404
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
400405
with:
@@ -476,7 +481,7 @@ jobs:
476481
name: Fetch secrets from ESC
477482
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
478483
- name: Mark workflow as successful
479-
uses: guibranco/github-status-action-v2@0849440ec82c5fa69b2377725b9b7852a3977e76 # v1.1.13
484+
uses: guibranco/github-status-action-v2@631f55ea0251f0fb284525ad86c30e9f7a8dd284 # v1.1.14
480485
with:
481486
authToken: ${{ secrets.GITHUB_TOKEN }}
482487
context: Sentinel
@@ -503,6 +508,8 @@ jobs:
503508
ref: ${{ env.PR_COMMIT_SHA }}
504509
- name: Setup Tools
505510
uses: ./.github/actions/setup-tools
511+
with:
512+
github_token: ${{ secrets.GITHUB_TOKEN }}
506513
- name: Disarm go:embed directives to enable linters that compile source code
507514
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
508515
'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: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
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)