Skip to content

Commit ead1f22

Browse files
authored
Update GitHub Actions workflows. (#764)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 19c542b12a65e3f3ec1d8213111262a9887dcda0.
1 parent 1b285c0 commit ead1f22

21 files changed

+53
-27
lines changed

.github/actions/download-prerequisites/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: "composite"
66
steps:
77
- name: Download the prerequisites bin
8-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
99
with:
1010
name: prerequisites-bin
1111
path: bin
@@ -19,7 +19,7 @@ runs:
1919
run: rm bin/executables.txt
2020

2121
- name: Download schema-embed.json
22-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
22+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
2323
with:
2424
# Use a pattern to avoid failing if the artifact doesn't exist
2525
pattern: schema-embed.*

.github/actions/download-provider/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77

88
- name: Download pulumi-resource-postgresql
9-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
1010
with:
1111
pattern: pulumi-resource-postgresql-*-linux-amd64.tar.gz
1212
path: ${{ github.workspace }}/bin

.github/actions/download-sdk/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: Download ${{ inputs.language }} SDK
13-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
13+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
1414
with:
1515
name: ${{ inputs.language }}-sdk.tar.gz
1616
path: ${{ github.workspace}}/sdk/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Load secrets"
2+
description: |
3+
This is a temporary action which assists with our migration to ESC. Instead
4+
of surrounding every step that references secrets with an "if ESC" block, we
5+
instead modify those steps to consume their secrets from this step's outputs.
6+
Then, later, we can replace this action with esc-action to actually load
7+
secrets from ESC.
8+
inputs: {}
9+
outputs: {}
10+
runs:
11+
using: "node20"
12+
main: "index.js"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const fs = require("fs");
2+
3+
const file = process.env["GITHUB_OUTPUT"];
4+
var stream = fs.createWriteStream(file, { flags: "a" });
5+
6+
for (const [name, value] of Object.entries(process.env)) {
7+
try {
8+
stream.write(`${name}=${value}\n`);
9+
} catch (err) {
10+
console.log(`error: failed to set output for ${name}: ${err.message}`);
11+
}
12+
}
13+
14+
stream.end();

.github/workflows/build_provider.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
matrix: ${{ fromJSON(inputs.matrix) }}
3737
steps:
3838
- name: Checkout Repo
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040
with:
4141
persist-credentials: false
4242
# Without ldid cross-compiling Node binaries on a Linux worker intended to work on darwin-arm64 fails to sign the

.github/workflows/build_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- java
3434
steps:
3535
- name: Checkout Repo
36-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737
with:
3838
persist-credentials: false
3939
- name: Cache examples generation

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout Repo
14-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1515
with:
1616
persist-credentials: false
1717
- uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4

.github/workflows/community-moderation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Repo
11-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1212
with:
1313
persist-credentials: false
1414
- id: schema_changed

.github/workflows/license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout Repo
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
with:
2323
persist-credentials: false
2424
- name: Setup tools

0 commit comments

Comments
 (0)