From 3ea52bf008df517587c457082c18164b1948aa5c Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Tue, 8 Oct 2024 07:19:49 +0100 Subject: [PATCH] Update GitHub Actions workflows. (#2506) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 07f4afb680f1549d82b35023a518f2d68df7e748. --- .github/workflows/upgrade-provider.yml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index 02437beb9d..29115ec161 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -9,15 +9,26 @@ jobs: name: upgrade-provider runs-on: ubuntu-latest steps: - - name: Call upgrade provider action - uses: pulumi/pulumi-upgrade-provider-action@v0.0.12 - with: - kind: all - email: bot@pulumi.com - username: pulumi-bot + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Setup tools + uses: ./.github/actions/setup-tools + with: + tools: pulumictl, pulumicli, go, nodejs, dotnet, python, java + - name: Install upgrade-provider + run: go install github.com/pulumi/upgrade-provider@main + shell: bash + - name: "Set up git identity: name" + run: | + git config --global user.name 'bot@pulumi.com' + git config --global user.email 'bot@pulumi.com' + shell: bash + - name: Run upgrade-provider + run: upgrade-provider "${{ github.repository }}" --kind="all" + shell: bash name: Upgrade provider on: issues: types: - - opened + - opened workflow_dispatch: {}