Skip to content

Commit b24a874

Browse files
authored
Update GitHub Actions workflows. (#576)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 07f4afb680f1549d82b35023a518f2d68df7e748.
1 parent 22214f4 commit b24a874

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

.github/workflows/upgrade-provider.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,26 @@ jobs:
99
name: upgrade-provider
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Call upgrade provider action
13-
uses: pulumi/pulumi-upgrade-provider-action@v0.0.12
14-
with:
15-
kind: all
16-
email: bot@pulumi.com
17-
username: pulumi-bot
12+
- name: Checkout Repo
13+
uses: actions/checkout@v4
14+
- name: Setup tools
15+
uses: ./.github/actions/setup-tools
16+
with:
17+
tools: pulumictl, pulumicli, go, nodejs, dotnet, python, java
18+
- name: Install upgrade-provider
19+
run: go install github.com/pulumi/upgrade-provider@main
20+
shell: bash
21+
- name: "Set up git identity: name"
22+
run: |
23+
git config --global user.name 'bot@pulumi.com'
24+
git config --global user.email 'bot@pulumi.com'
25+
shell: bash
26+
- name: Run upgrade-provider
27+
run: upgrade-provider "${{ github.repository }}" --kind="all"
28+
shell: bash
1829
name: Upgrade provider
1930
on:
2031
issues:
2132
types:
22-
- opened
33+
- opened
2334
workflow_dispatch: {}

0 commit comments

Comments
 (0)