Skip to content

Commit 47f9f75

Browse files
authored
Update GitHub Actions workflows. (#606)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 5c4c4b9781e6baeba99ed540065bcc4c2be763c9.
1 parent eea3f88 commit 47f9f75

23 files changed

+64
-64
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: "composite"
66
steps:
77
- name: Download provider + tfgen binaries
8-
uses: actions/download-artifact@v4.1.8
8+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
99
with:
1010
name: postgresql-provider.tar.gz
1111
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@v4.1.8
13+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
1414
with:
1515
name: ${{ inputs.language }}-sdk.tar.gz
1616
path: ${{ github.workspace}}/sdk/

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
steps:
2121
- name: Install Go
2222
if: inputs.tools == 'all' || contains(inputs.tools, 'go')
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
2424
with:
2525
go-version: "1.21.x"
2626
cache-dependency-path: |
@@ -30,52 +30,52 @@ runs:
3030
3131
- name: Install pulumictl
3232
if: inputs.tools == 'all' || contains(inputs.tools, 'pulumictl')
33-
uses: jaxxstorm/action-install-gh-release@v1.11.0
33+
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
3434
with:
3535
tag: v0.0.46
3636
repo: pulumi/pulumictl
3737

3838
- name: Install Pulumi CLI
3939
if: inputs.tools == 'all' || contains(inputs.tools, 'pulumicli')
40-
uses: pulumi/actions@v5
40+
uses: pulumi/actions@c7fad9e2f0b79653172b36538b8b34b3c0291952 # v6
4141
with:
4242
pulumi-version: "dev"
4343

4444
- name: Install Schema Tools
4545
if: inputs.tools == 'all' || contains(inputs.tools, 'schema-tools')
46-
uses: jaxxstorm/action-install-gh-release@v1.11.0
46+
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
4747
with:
4848
repo: pulumi/schema-tools
4949

5050
- name: Setup Node
5151
if: inputs.tools == 'all' || contains(inputs.tools, 'nodejs')
52-
uses: actions/setup-node@v4
52+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
5353
with:
5454
node-version: 20.x
5555
registry-url: https://registry.npmjs.org
5656

5757
- name: Setup DotNet
5858
if: inputs.tools == 'all' || contains(inputs.tools, 'dotnet')
59-
uses: actions/setup-dotnet@v4
59+
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4
6060
with:
6161
dotnet-version: 6.0.x
6262

6363
- name: Setup Python
6464
if: inputs.tools == 'all' || contains(inputs.tools, 'python')
65-
uses: actions/setup-python@v5
65+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
6666
with:
6767
python-version: 3.11.8
6868

6969
- name: Setup Java
7070
if: inputs.tools == 'all' || contains(inputs.tools, 'java')
71-
uses: actions/setup-java@v4
71+
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
7272
with:
7373
cache: gradle
7474
distribution: temurin
7575
java-version: 11
7676

7777
- name: Setup Gradle
7878
if: inputs.tools == 'all' || contains(inputs.tools, 'java')
79-
uses: gradle/gradle-build-action@v3
79+
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3
8080
with:
8181
gradle-version: 7.6

.github/actions/upload-bin/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
shell: bash
99
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace }}/bin/ pulumi-resource-postgresql pulumi-tfgen-postgresql
1010
- name: Upload artifacts
11-
uses: actions/upload-artifact@v4.4.3
11+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
1212
with:
1313
name: postgresql-provider.tar.gz
1414
path: ${{ github.workspace }}/bin/provider.tar.gz

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
shell: bash
1414
run: tar -zcf sdk/${{ inputs.language }}.tar.gz -C sdk/${{ inputs.language }} .
1515
- name: Upload artifacts
16-
uses: actions/upload-artifact@v4.4.3
16+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
1717
with:
1818
name: ${{ inputs.language }}-sdk.tar.gz
1919
path: ${{ github.workspace}}/sdk/${{ inputs.language }}.tar.gz

.github/workflows/build_provider.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
arch: amd64
3131
steps:
3232
- name: Checkout Repo
33-
uses: actions/checkout@v4.2.2
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
persist-credentials: false
3636
- name: Setup tools
@@ -40,7 +40,7 @@ jobs:
4040
- name: Prepare local workspace before restoring previously built
4141
run: make prepare_local_workspace
4242
- name: Download schema-embed.json
43-
uses: actions/download-artifact@v4.1.8
43+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
4444
with:
4545
# Use a pattern to avoid failing if the artifact doesn't exist
4646
pattern: schema-embed.*
@@ -52,7 +52,7 @@ jobs:
5252
- name: Build & package provider
5353
run: make provider_dist-${{ matrix.platform.os }}-${{ matrix.platform.arch }}
5454
- name: Upload artifacts
55-
uses: actions/upload-artifact@v4.4.3
55+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
5656
with:
5757
name: pulumi-resource-postgresql-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
5858
path: bin/pulumi-resource-postgresql-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz

.github/workflows/build_sdk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
- java
4242
steps:
4343
- name: Checkout Repo
44-
uses: actions/checkout@v4.2.2
44+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4545
with:
4646
persist-credentials: false
4747
- name: Cache examples generation
48-
uses: actions/cache@v4
48+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
4949
with:
5050
path: |
5151
.pulumi/examples-cache

.github/workflows/command-dispatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@v4.2.2
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
persist-credentials: false
29-
- uses: peter-evans/slash-command-dispatch@v4
29+
- uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4
3030
with:
3131
commands: |
3232
run-acceptance-tests

.github/workflows/community-moderation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Repo
11-
uses: actions/checkout@v4.2.2
11+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1212
with:
1313
persist-credentials: false
1414
- id: schema_changed
1515
name: Check for diff in schema
16-
uses: dorny/paths-filter@v2.12.0
16+
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
1717
with:
1818
filters: "changed: 'provider/cmd/**/schema.json'"
1919
- id: sdk_changed
2020
if: steps.schema_changed.outputs.changed == 'false'
2121
name: Check for diff in sdk/**
22-
uses: dorny/paths-filter@v2.12.0
22+
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
2323
with:
2424
filters: "changed: 'sdk/**'"
2525
- if: steps.sdk_changed.outputs.changed == 'true' &&
2626
github.event.pull_request.head.repo.full_name != github.repository
2727
name: Send codegen warning as comment on PR
28-
uses: thollander/actions-comment-pull-request@v2.5.0
28+
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
2929
with:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
message: >

.github/workflows/license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout Repo
33-
uses: actions/checkout@v4.2.2
33+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
persist-credentials: false
3636
- name: Setup tools

0 commit comments

Comments
 (0)