From 8174ae6ac8d111332aaabe6264237a89fa17d739 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Tue, 8 Oct 2024 05:50:24 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .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: {}