-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] Update GitHub Actions workflow files
- Loading branch information
1 parent
264ad76
commit 5279da9
Showing
10 changed files
with
278 additions
and
326 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,20 +44,20 @@ jobs: | |
name: generate-sdk | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
lfs: true | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | ||
with: | ||
go-version: 1.21.x | ||
cache-dependency-path: "**/*.sum" | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0 | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
uses: pulumi/actions@c7fad9e2f0b79653172b36538b8b34b3c0291952 # v6.0.0 | ||
- name: Cleanup SDK Folder | ||
run: make clean | ||
- name: Preparing Git Branch | ||
|
@@ -93,7 +93,7 @@ jobs: | |
git push origin generate-sdk/${{ github.run_id }}-${{ github.run_number }} | ||
- name: Create PR | ||
id: create-pr | ||
uses: repo-sync/pull-request@v2.6.2 | ||
uses: repo-sync/pull-request@7e79a9f5dc3ad0ce53138f01df2fad14a04831c5 # v2.12.1 | ||
with: | ||
destination_branch: master | ||
github_token: ${{ secrets.PULUMI_BOT_TOKEN }} | ||
|
@@ -103,7 +103,7 @@ jobs: | |
source_branch: generate-sdk/${{ github.run_id }}-${{ github.run_number }} | ||
- if: failure() && github.event_name == 'push' | ||
name: Notify Slack | ||
uses: 8398a7/action-slack@v3 | ||
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 | ||
with: | ||
author_name: Failure during automated SDK generation | ||
fields: repo,commit,author,action | ||
|
Oops, something went wrong.