Skip to content

Commit 1ffe9a4

Browse files
committed
[internal] Update GitHub Actions workflow files
1 parent 264ad76 commit 1ffe9a4

10 files changed

+450
-335
lines changed

.github/workflows/build.yml

+105-117
Large diffs are not rendered by default.

.github/workflows/command-dispatch.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
name: command-dispatch-for-testing
4646
steps:
4747
- name: Checkout Repo
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
with:
5050
lfs: true
51-
- uses: peter-evans/slash-command-dispatch@v2
51+
- uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4.0.0
5252
with:
5353
token: ${{ secrets.PULUMI_BOT_TOKEN }}
5454
reaction-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/nightly-sdk-generation.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ jobs:
4444
name: generate-sdk
4545
steps:
4646
- name: Checkout Repo
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
with:
4949
lfs: true
5050
- name: Install Go
51-
uses: actions/setup-go@v5
51+
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
5252
with:
5353
go-version: 1.21.x
5454
cache-dependency-path: "**/*.sum"
5555
- name: Install pulumictl
56-
uses: jaxxstorm/action-install-gh-release@v1.11.0
56+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
5757
with:
5858
repo: pulumi/pulumictl
5959
- name: Install Pulumi CLI
60-
uses: pulumi/actions@v5
60+
uses: pulumi/actions@c7fad9e2f0b79653172b36538b8b34b3c0291952 # v6.0.0
6161
- name: Cleanup SDK Folder
6262
run: make clean
6363
- name: Preparing Git Branch
@@ -93,7 +93,7 @@ jobs:
9393
git push origin generate-sdk/${{ github.run_id }}-${{ github.run_number }}
9494
- name: Create PR
9595
id: create-pr
96-
uses: repo-sync/pull-request@v2.6.2
96+
uses: repo-sync/pull-request@7e79a9f5dc3ad0ce53138f01df2fad14a04831c5 # v2.12.1
9797
with:
9898
destination_branch: master
9999
github_token: ${{ secrets.PULUMI_BOT_TOKEN }}
@@ -103,7 +103,7 @@ jobs:
103103
source_branch: generate-sdk/${{ github.run_id }}-${{ github.run_number }}
104104
- if: failure() && github.event_name == 'push'
105105
name: Notify Slack
106-
uses: 8398a7/action-slack@v3
106+
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
107107
with:
108108
author_name: Failure during automated SDK generation
109109
fields: repo,commit,author,action

0 commit comments

Comments
 (0)