From c22ad9aaea43214fe503cc8a24510bb7a6a54d5e Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Mon, 14 Oct 2024 22:46:44 -0700 Subject: [PATCH] [internal] Update GitHub Actions workflow files (#190) --- .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 02437beb..29115ec1 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: {}