Skip to content

Commit 4d44b03

Browse files
pulumi-botrshade
andauthored
Update GitHub Actions workflows. (#249)
This PR was automatically generated by the update-native-provider-workflows workflow in the pulumi/ci-mgmt repo, from commit 91df679755f01a1b2c293e991637f8458bce82bd. Co-authored-by: Richard Shade <[email protected]>
1 parent 6fc08c2 commit 4d44b03

File tree

6 files changed

+48
-42
lines changed

6 files changed

+48
-42
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
go-version: ${{ env.GOVERSION }}
6767
cache-dependency-path: "**/*.sum"
6868
- name: Install pulumictl
69-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
69+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
7070
with:
7171
repo: pulumi/pulumictl
7272
- name: Install Pulumi CLI
@@ -75,7 +75,7 @@ jobs:
7575
pulumi-version-file: .pulumi.version
7676
- if: github.event_name == 'pull_request'
7777
name: Install Schema Tools
78-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
78+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
7979
with:
8080
repo: pulumi/schema-tools
8181
- name: Build codegen binaries
@@ -94,12 +94,12 @@ jobs:
9494
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
9595
- if: github.event_name == 'pull_request'
9696
name: Comment on PR with Details of Schema Check
97-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
97+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
9898
with:
9999
message: |
100100
${{ env.SCHEMA_CHANGES }}
101-
comment_tag: schemaCheck
102-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101+
comment-tag: schemaCheck
102+
github-token: ${{ secrets.GITHUB_TOKEN }}
103103
- if: contains(env.SCHEMA_CHANGES, 'Looking good! No breaking changes found.') &&
104104
github.actor == 'pulumi-bot'
105105
name: Add label if no breaking changes
@@ -171,7 +171,7 @@ jobs:
171171
go-version: ${{ env.GOVERSION }}
172172
cache-dependency-path: "**/*.sum"
173173
- name: Install pulumictl
174-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
174+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
175175
with:
176176
repo: pulumi/pulumictl
177177
- name: Install Pulumi CLI
@@ -274,7 +274,7 @@ jobs:
274274
go-version: ${{ env.GOVERSION }}
275275
cache-dependency-path: "**/*.sum"
276276
- name: Install pulumictl
277-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
277+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
278278
with:
279279
repo: pulumi/pulumictl
280280
- name: Install Pulumi CLI
@@ -380,7 +380,7 @@ jobs:
380380
swap-storage: true
381381
large-packages: false
382382
- name: Install pulumictl
383-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
383+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
384384
with:
385385
repo: pulumi/pulumictl
386386
- name: Install Pulumi CLI
@@ -437,7 +437,7 @@ jobs:
437437
go-version: ${{ env.GOVERSION }}
438438
cache-dependency-path: "**/*.sum"
439439
- name: Install pulumictl
440-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
440+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
441441
with:
442442
repo: pulumi/pulumictl
443443
- name: Install Pulumi CLI
@@ -506,8 +506,11 @@ jobs:
506506
with:
507507
go-version: ${{ env.GOVERSION }}
508508
cache-dependency-path: "**/*.sum"
509+
- name: Disarm go:embed directives to enable linters that compile source code
510+
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
511+
's/go:embed/ goembed/g'
509512
- name: golangci-lint provider pkg
510-
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4.0.1
513+
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
511514
with:
512515
version: ${{ env.GOLANGCI_LINT_VERSION }}
513516
args: -c ../.golangci.yml

.github/workflows/prerelease.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
go-version: ${{ env.GOVERSION }}
5959
cache-dependency-path: "**/*.sum"
6060
- name: Install pulumictl
61-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
61+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
6262
with:
6363
repo: pulumi/pulumictl
6464
- name: Install Pulumi CLI
@@ -67,7 +67,7 @@ jobs:
6767
pulumi-version-file: .pulumi.version
6868
- if: github.event_name == 'pull_request'
6969
name: Install Schema Tools
70-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
70+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
7171
with:
7272
repo: pulumi/schema-tools
7373
- name: Build codegen binaries
@@ -86,12 +86,12 @@ jobs:
8686
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
8787
- if: github.event_name == 'pull_request'
8888
name: Comment on PR with Details of Schema Check
89-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
89+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
9090
with:
9191
message: |
9292
${{ env.SCHEMA_CHANGES }}
93-
comment_tag: schemaCheck
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
comment-tag: schemaCheck
94+
github-token: ${{ secrets.GITHUB_TOKEN }}
9595
- if: contains(env.SCHEMA_CHANGES, 'Looking good! No breaking changes found.') &&
9696
github.actor == 'pulumi-bot'
9797
name: Add label if no breaking changes
@@ -163,7 +163,7 @@ jobs:
163163
go-version: ${{ env.GOVERSION }}
164164
cache-dependency-path: "**/*.sum"
165165
- name: Install pulumictl
166-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
166+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
167167
with:
168168
repo: pulumi/pulumictl
169169
- name: Install Pulumi CLI
@@ -265,7 +265,7 @@ jobs:
265265
go-version: ${{ env.GOVERSION }}
266266
cache-dependency-path: "**/*.sum"
267267
- name: Install pulumictl
268-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
268+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
269269
with:
270270
repo: pulumi/pulumictl
271271
- name: Install Pulumi CLI
@@ -371,7 +371,7 @@ jobs:
371371
swap-storage: true
372372
large-packages: false
373373
- name: Install pulumictl
374-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
374+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
375375
with:
376376
repo: pulumi/pulumictl
377377
- name: Install Pulumi CLI
@@ -428,7 +428,7 @@ jobs:
428428
go-version: ${{ env.GOVERSION }}
429429
cache-dependency-path: "**/*.sum"
430430
- name: Install pulumictl
431-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
431+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
432432
with:
433433
repo: pulumi/pulumictl
434434
- name: Install Pulumi CLI
@@ -505,7 +505,7 @@ jobs:
505505
go-version: ${{ env.GOVERSION }}
506506
cache-dependency-path: "**/*.sum"
507507
- name: Install pulumictl
508-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
508+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
509509
with:
510510
repo: pulumi/pulumictl
511511
- name: Install Pulumi CLI

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
with:
4646
lfs: true
4747
- name: Comment PR
48-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
48+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
4949
with:
5050
message: >
5151
PR is now waiting for a maintainer to run the acceptance tests.
5252
5353
**Note for the maintainer:** To run the acceptance tests, please comment */run-acceptance-tests* on the PR
54-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
5555
if: github.event.pull_request.head.repo.full_name != github.repository

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
go-version: ${{ env.GOVERSION }}
5959
cache-dependency-path: "**/*.sum"
6060
- name: Install pulumictl
61-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
61+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
6262
with:
6363
repo: pulumi/pulumictl
6464
- name: Install Pulumi CLI
@@ -67,7 +67,7 @@ jobs:
6767
pulumi-version-file: .pulumi.version
6868
- if: github.event_name == 'pull_request'
6969
name: Install Schema Tools
70-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
70+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
7171
with:
7272
repo: pulumi/schema-tools
7373
- name: Build codegen binaries
@@ -86,12 +86,12 @@ jobs:
8686
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
8787
- if: github.event_name == 'pull_request'
8888
name: Comment on PR with Details of Schema Check
89-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
89+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
9090
with:
9191
message: |
9292
${{ env.SCHEMA_CHANGES }}
93-
comment_tag: schemaCheck
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
comment-tag: schemaCheck
94+
github-token: ${{ secrets.GITHUB_TOKEN }}
9595
- if: contains(env.SCHEMA_CHANGES, 'Looking good! No breaking changes found.') &&
9696
github.actor == 'pulumi-bot'
9797
name: Add label if no breaking changes
@@ -163,7 +163,7 @@ jobs:
163163
go-version: ${{ env.GOVERSION }}
164164
cache-dependency-path: "**/*.sum"
165165
- name: Install pulumictl
166-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
166+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
167167
with:
168168
repo: pulumi/pulumictl
169169
- name: Install Pulumi CLI
@@ -265,7 +265,7 @@ jobs:
265265
go-version: ${{ env.GOVERSION }}
266266
cache-dependency-path: "**/*.sum"
267267
- name: Install pulumictl
268-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
268+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
269269
with:
270270
repo: pulumi/pulumictl
271271
- name: Install Pulumi CLI
@@ -371,7 +371,7 @@ jobs:
371371
swap-storage: true
372372
large-packages: false
373373
- name: Install pulumictl
374-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
374+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
375375
with:
376376
repo: pulumi/pulumictl
377377
- name: Install Pulumi CLI
@@ -428,7 +428,7 @@ jobs:
428428
go-version: ${{ env.GOVERSION }}
429429
cache-dependency-path: "**/*.sum"
430430
- name: Install pulumictl
431-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
431+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
432432
with:
433433
repo: pulumi/pulumictl
434434
- name: Install Pulumi CLI
@@ -505,7 +505,7 @@ jobs:
505505
go-version: ${{ env.GOVERSION }}
506506
cache-dependency-path: "**/*.sum"
507507
- name: Install pulumictl
508-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
508+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
509509
with:
510510
repo: pulumi/pulumictl
511511
- name: Install Pulumi CLI
@@ -576,7 +576,7 @@ jobs:
576576
needs: publish_go_sdk
577577
steps:
578578
- name: Install pulumictl
579-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
579+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
580580
with:
581581
repo: pulumi/pulumictl
582582
- name: Dispatch Event

.github/workflows/run-acceptance-tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
go-version: ${{ env.GOVERSION }}
8181
cache-dependency-path: "**/*.sum"
8282
- name: Install pulumictl
83-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
83+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
8484
with:
8585
repo: pulumi/pulumictl
8686
- name: Install Pulumi CLI
@@ -89,7 +89,7 @@ jobs:
8989
pulumi-version-file: .pulumi.version
9090
- if: github.event_name == 'pull_request'
9191
name: Install Schema Tools
92-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
92+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
9393
with:
9494
repo: pulumi/schema-tools
9595
- name: Build codegen binaries
@@ -108,12 +108,12 @@ jobs:
108108
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
109109
- if: github.event_name == 'pull_request'
110110
name: Comment on PR with Details of Schema Check
111-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
111+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
112112
with:
113113
message: |
114114
${{ env.SCHEMA_CHANGES }}
115-
comment_tag: schemaCheck
116-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115+
comment-tag: schemaCheck
116+
github-token: ${{ secrets.GITHUB_TOKEN }}
117117
- if: contains(env.SCHEMA_CHANGES, 'Looking good! No breaking changes found.') &&
118118
github.actor == 'pulumi-bot'
119119
name: Add label if no breaking changes
@@ -188,7 +188,7 @@ jobs:
188188
go-version: ${{ env.GOVERSION }}
189189
cache-dependency-path: "**/*.sum"
190190
- name: Install pulumictl
191-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
191+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
192192
with:
193193
repo: pulumi/pulumictl
194194
- name: Install Pulumi CLI
@@ -294,7 +294,7 @@ jobs:
294294
go-version: ${{ env.GOVERSION }}
295295
cache-dependency-path: "**/*.sum"
296296
- name: Install pulumictl
297-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
297+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
298298
with:
299299
repo: pulumi/pulumictl
300300
- name: Install Pulumi CLI
@@ -408,8 +408,11 @@ jobs:
408408
with:
409409
go-version: ${{ env.GOVERSION }}
410410
cache-dependency-path: "**/*.sum"
411+
- name: Disarm go:embed directives to enable linters that compile source code
412+
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
413+
's/go:embed/ goembed/g'
411414
- name: golangci-lint provider pkg
412-
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4.0.1
415+
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
413416
with:
414417
version: ${{ env.GOLANGCI_LINT_VERSION }}
415418
args: -c ../.golangci.yml

.github/workflows/weekly-pulumi-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
go-version: ${{ env.GOVERSION }}
5252
cache-dependency-path: "**/*.sum"
5353
- name: Install pulumictl
54-
uses: jaxxstorm/action-install-gh-release@71d17cb091aa850acb2a1a4cf87258d183eb941b # v1.11.0
54+
uses: jaxxstorm/action-install-gh-release@cd6b2b78ad38bdd294341cda064ec0692b06215b # v1.14.0
5555
with:
5656
repo: pulumi/pulumictl
5757
- name: Install Pulumi CLI

0 commit comments

Comments
 (0)