Skip to content

Commit 74a6e54

Browse files
authored
Update GitHub Actions workflows. (#822)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 20a3d3337bd70b94d983f8f49e13e29e1a10640a.
1 parent 558faf5 commit 74a6e54

19 files changed

+80
-54
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM jetpackio/devbox:latest
1+
FROM jetpackio/devbox:latest@sha256:293d6d0a33205e88550198835e68bcff65a2e33d143857ad92c6c888e6a75ad7
22

33
# Installing your devbox project
44
WORKDIR /code

.github/workflows/build_provider.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
id-token: write # For ESC secrets.
4040
steps:
4141
- name: Checkout Repo
42-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
42+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4343
with:
4444
persist-credentials: false
4545
- env:
@@ -53,16 +53,16 @@ jobs:
5353
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
5454
# Without ldid cross-compiling Node binaries on a Linux worker intended to work on darwin-arm64 fails to sign the
5555
# binaries properly and they do not work as expected. See https://github.com/pulumi/pulumi-awsx/issues/1490
56-
- uses: MOZGIII/install-ldid-action@v1
56+
- uses: MOZGIII/install-ldid-action@d5ab465f3a66a4d60a59882b935eb30e18e8d043 # v1
5757
with:
5858
tag: v2.1.5-procursus2
5959
- name: Setup mise
60-
uses: jdx/mise-action@v3
60+
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
6161
env:
6262
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
6363
with:
6464
version: 2025.11.6
65-
github_token: ${{ secrets.GITHUB_TOKEN }}
65+
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
6666
# only saving the cache in the prerequisites job
6767
cache_save: false
6868
# Based on https://github.com/actions/cache/blob/main/examples.md#go---modules
@@ -77,7 +77,7 @@ jobs:
7777
run: |
7878
echo "path=$(go env GOMODCACHE)" >> "${GITHUB_OUTPUT}"
7979
- name: Go Cache
80-
uses: actions/cache@v4
80+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
8181
with:
8282
path: |
8383
${{ steps.gocache.outputs.path }}

.github/workflows/build_sdk.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id-token: write # For ESC secrets.
3737
steps:
3838
- name: Checkout Repo
39-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
39+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4040
with:
4141
persist-credentials: false
4242
- env:
@@ -55,12 +55,12 @@ jobs:
5555
.pulumi/examples-cache
5656
key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }}
5757
- name: Setup mise
58-
uses: jdx/mise-action@v3
58+
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
5959
env:
6060
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
6161
with:
6262
version: 2025.11.6
63-
github_token: ${{ secrets.GITHUB_TOKEN }}
63+
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
6464
# only saving the cache in the prerequisites job
6565
cache_save: false
6666
- name: Setup Go Cache

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
id-token: write # For ESC secrets.
1616
steps:
1717
- name: Checkout Repo
18-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
18+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1919
with:
2020
persist-credentials: false
2121
- env:

.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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
9+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1010
with:
1111
persist-credentials: false
1212
- id: schema_changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
# If you do not check out your code, Copilot will do this for you.
2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3232
with:
3333
persist-credentials: false
3434

3535
- name: Setup mise
36-
uses: jdx/mise-action@v3
36+
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
3737
env:
3838
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
3939
with:

.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 }}

.github/workflows/license.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,31 @@ jobs:
1616
license_check:
1717
name: License Check
1818
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
21+
pull-requests: write
22+
id-token: write # For ESC secrets.
1923
steps:
2024
- name: Checkout Repo
21-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2226
with:
23-
persist-credentials: false
27+
persist-credentials: false
28+
- env:
29+
ESC_ACTION_ENVIRONMENT: imports/github-secrets
30+
ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: "false"
31+
ESC_ACTION_OIDC_AUTH: "true"
32+
ESC_ACTION_OIDC_ORGANIZATION: pulumi
33+
ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization
34+
id: esc-secrets
35+
name: Fetch secrets from ESC
36+
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
2437
- name: Setup mise
25-
uses: jdx/mise-action@v3
38+
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
2639
env:
2740
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
2841
with:
2942
version: 2025.11.6
30-
github_token: ${{ secrets.GITHUB_TOKEN }}
43+
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
3144
# only saving the cache in the prerequisites job
3245
cache_save: false
3346
- run: make prepare_local_workspace

.github/workflows/lint.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,31 @@ jobs:
1616
lint:
1717
name: lint
1818
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
21+
pull-requests: write
22+
id-token: write # For ESC secrets.
1923
steps:
2024
- name: Checkout Repo
21-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
25+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2226
with:
23-
persist-credentials: false
27+
persist-credentials: false
28+
- env:
29+
ESC_ACTION_ENVIRONMENT: imports/github-secrets
30+
ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: "false"
31+
ESC_ACTION_OIDC_AUTH: "true"
32+
ESC_ACTION_OIDC_ORGANIZATION: pulumi
33+
ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization
34+
id: esc-secrets
35+
name: Fetch secrets from ESC
36+
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
2437
- name: Setup mise
25-
uses: jdx/mise-action@v3
38+
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
2639
env:
2740
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
2841
with:
2942
version: 2025.11.6
30-
github_token: ${{ secrets.GITHUB_TOKEN }}
43+
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
3144
cache_save: false # A different job handles caching our tools.
3245
- name: disarm go:embed directives to enable lint
3346
continue-on-error: true # this fails if there are no go:embed directives

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
tool-cache: false
3131
swap-storage: false
3232
- name: Checkout Repo
33-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
33+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3434
with:
3535
persist-credentials: false
3636
- env:
@@ -49,12 +49,12 @@ jobs:
4949
aws-region: us-west-2
5050
aws-secret-access-key: ${{ steps.esc-secrets.outputs.AWS_CORP_S3_UPLOAD_SECRET_ACCESS_KEY }}
5151
- name: Setup mise
52-
uses: jdx/mise-action@v3
52+
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
5353
env:
5454
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
5555
with:
5656
version: 2025.11.6
57-
github_token: ${{ secrets.GITHUB_TOKEN }}
57+
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
5858
# only saving the cache in the prerequisites job
5959
cache_save: false
6060
- name: Setup Go Cache

0 commit comments

Comments
 (0)