Skip to content

Commit 9361b42

Browse files
committed
[internal] Update GitHub Actions workflow files
1 parent 44adb91 commit 9361b42

File tree

13 files changed

+109
-173
lines changed

13 files changed

+109
-173
lines changed

.config/mise.lock

Lines changed: 0 additions & 87 deletions
This file was deleted.

.config/mise.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ java = 'corretto-11'
1818

1919
# Executable tools
2020
pulumi = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}"
21-
"github:pulumi/pulumictl" = 'latest'
22-
"github:pulumi/schema-tools" = "latest"
23-
gradle = '7.6'
21+
"github:pulumi/pulumictl" = '0.0.50'
22+
"github:pulumi/schema-tools" = "0.6.0"
23+
"aqua:gradle/gradle-distributions" = '7.6.6'
2424
golangci-lint = "1.64.8" # See note about about overrides if you need to customize this.
2525
"npm:yarn" = "1.22.22"
2626

2727
[settings]
2828
experimental = true # Required for Go binaries (e.g. pulumictl).
29-
lockfile = true
29+
lockfile = false

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

Lines changed: 11 additions & 8 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@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
18+
env:
19+
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
1520
with:
16-
# Latest working version. See https://github.com/jdx/mise/discussions/6781
17-
version: 2025.10.16
18-
github_token: ${{ github.token }}
19-
cache_key: "mise-{{platform}}-{{file_hash}}"
21+
version: 2025.11.6
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@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
2427
with:
2528
cache: ${{ inputs.cache }}
2629
cache-dependency-path: |
@@ -31,7 +34,7 @@ runs:
3134
*.sum
3235
3336
- name: Setup Node
34-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
37+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
3538
with:
3639
# we don't set node-version because we install with mise.
3740
# this step is needed to setup npm auth

.github/workflows/build.yml

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ on:
1616
workflow_dispatch: {}
1717
env:
1818
PROVIDER: kubernetes-cert-manager
19+
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
1920
TRAVIS_OS_NAME: linux
21+
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
2022
GOVERSION: "1.21.x"
2123
NODEVERSION: "20.x"
2224
PYTHONVERSION: "3.11.8"
@@ -38,7 +40,7 @@ jobs:
3840
pull-requests: write # For schema check comment.
3941
steps:
4042
- name: Checkout Repo
41-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
43+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4244
with:
4345
lfs: true
4446
- env:
@@ -61,6 +63,7 @@ jobs:
6163
uses: ./.github/actions/setup-tools
6264
with:
6365
cache: 'true'
66+
github_token: ${{ secrets.GITHUB_TOKEN }}
6467
- if: github.event_name == 'pull_request'
6568
name: Install Schema Tools
6669
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
@@ -112,10 +115,6 @@ jobs:
112115
sdk/nodejs/package.json
113116
sdk/python/pyproject.toml
114117
sdk/java/build.gradle
115-
**/mise.lock
116-
**/.config/mise.lock
117-
**/mise.*.lock
118-
**/.config/mise.*.lock
119118
- name: Commit SDK changes for Renovate
120119
if: failure() && steps.worktreeClean.outcome == 'failure' &&
121120
contains(github.actor, 'renovate') && github.event_name ==
@@ -209,7 +208,7 @@ jobs:
209208
id-token: write # For ESC secrets.
210209
steps:
211210
- name: Checkout Repo
212-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
211+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
213212
with:
214213
lfs: true
215214
- env:
@@ -230,6 +229,8 @@ jobs:
230229
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
231230
- name: Setup Tools
232231
uses: ./.github/actions/setup-tools
232+
with:
233+
github_token: ${{ secrets.GITHUB_TOKEN }}
233234
- name: Download Provider Binary
234235
uses: ./.github/actions/download-provider
235236
- name: Generate SDK
@@ -248,10 +249,6 @@ jobs:
248249
sdk/nodejs/package.json
249250
sdk/python/pyproject.toml
250251
sdk/java/build.gradle
251-
**/mise.lock
252-
**/.config/mise.lock
253-
**/mise.*.lock
254-
**/.config/mise.*.lock
255252
- name: Commit SDK changes for Renovate
256253
if: failure() && steps.worktreeClean.outcome == 'failure' &&
257254
contains(github.actor, 'renovate') && github.event_name ==
@@ -328,7 +325,7 @@ jobs:
328325
id-token: write # For ESC secrets.
329326
steps:
330327
- name: Checkout Repo
331-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
328+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
332329
with:
333330
lfs: true
334331
- env:
@@ -373,7 +370,7 @@ jobs:
373370
id-token: write # For ESC secrets and Pulumi access token OIDC.
374371
steps:
375372
- name: Checkout Repo
376-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
373+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
377374
with:
378375
lfs: true
379376
- env:
@@ -394,6 +391,8 @@ jobs:
394391
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
395392
- name: Setup Tools
396393
uses: ./.github/actions/setup-tools
394+
with:
395+
github_token: ${{ secrets.GITHUB_TOKEN }}
397396
- name: Download Provider Binary
398397
uses: ./.github/actions/download-provider
399398
- name: Download SDK
@@ -448,7 +447,7 @@ jobs:
448447
id-token: write # For ESC secrets.
449448
steps:
450449
- name: Checkout Repo
451-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
450+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
452451
with:
453452
lfs: true
454453
- env:
@@ -469,6 +468,8 @@ jobs:
469468
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
470469
- name: Setup Tools
471470
uses: ./.github/actions/setup-tools
471+
with:
472+
github_token: ${{ secrets.GITHUB_TOKEN }}
472473
- name: Clear GitHub Actions Ubuntu runner disk space
473474
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
474475
with:
@@ -479,7 +480,7 @@ jobs:
479480
swap-storage: true
480481
large-packages: false
481482
- name: Configure AWS Credentials
482-
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
483+
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
483484
with:
484485
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
485486
aws-region: us-east-2
@@ -519,7 +520,7 @@ jobs:
519520
id-token: write # For ESC secrets.
520521
steps:
521522
- name: Checkout Repo
522-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
523+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
523524
with:
524525
lfs: true
525526
- env:
@@ -539,13 +540,15 @@ jobs:
539540
env:
540541
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
541542
- name: Checkout Scripts Repo
542-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
543+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
543544
with:
544545
path: ci-scripts
545546
repository: pulumi/scripts
546547
- run: echo "ci-scripts" >> .git/info/exclude
547548
- name: Setup Tools
548549
uses: ./.github/actions/setup-tools
550+
with:
551+
github_token: ${{ secrets.GITHUB_TOKEN }}
549552
- name: Download python SDK
550553
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
551554
with:
@@ -598,13 +601,15 @@ jobs:
598601
runs-on: ubuntu-latest
599602
steps:
600603
- name: Checkout Repo
601-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
604+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
602605
with:
603606
lfs: true
604607
persist-credentials: false
605608
ref: ${{ env.PR_COMMIT_SHA }}
606609
- name: Setup Tools
607610
uses: ./.github/actions/setup-tools
611+
with:
612+
github_token: ${{ secrets.GITHUB_TOKEN }}
608613
- name: Disarm go:embed directives to enable linters that compile source code
609614
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
610615
's/go:embed/ goembed/g'

.github/workflows/command-dispatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
id-token: write # For ESC secrets.
1818
steps:
1919
- name: Checkout Repo
20-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2121
with:
2222
persist-credentials: false
2323
- env:
@@ -29,7 +29,7 @@ jobs:
2929
id: esc-secrets
3030
name: Fetch secrets from ESC
3131
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
32-
- uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4
32+
- uses: peter-evans/slash-command-dispatch@e1b4e266bc781656359bb7e462e228daf68c04f6 # v5
3333
with:
3434
commands: |
3535
run-acceptance-tests

.github/workflows/community-moderation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout Repo
9-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1010
with:
1111
persist-credentials: false
1212
- id: schema_changed

.github/workflows/export-repo-secrets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- name: Generate a GitHub token
1010
id: generate-token
11-
uses: actions/create-github-app-token@v1
11+
uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2
1212
with:
1313
app-id: 1256780 # Export Secrets GitHub App
1414
private-key: ${{ secrets.EXPORT_SECRETS_PRIVATE_KEY }}

0 commit comments

Comments
 (0)