From f2e8f7f017d8d0c43a1532033a37b755d2455723 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Sat, 7 Sep 2024 06:26:46 +0100 Subject: [PATCH] [internal] Update GitHub Actions workflow files (#126) --- .github/workflows/check-upstream-upgrade.yml | 3 ++- .github/workflows/upgrade-bridge.yml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index a4d997b..9e375a3 100644 --- a/.github/workflows/check-upstream-upgrade.yml +++ b/.github/workflows/check-upstream-upgrade.yml @@ -25,8 +25,9 @@ jobs: shell: bash - name: Run upgrade-provider upstream check id: upstream_version + # Using --repo-path=. skips git pull steps since the Checkout Repo steps has done those. run: | - upgrade-provider "$REPO" --kind=check-upstream-version + upgrade-provider "$REPO" --kind=check-upstream-version --repo-path=. env: REPO: ${{ github.repository }} shell: bash diff --git a/.github/workflows/upgrade-bridge.yml b/.github/workflows/upgrade-bridge.yml index 69c476f..d302ae6 100644 --- a/.github/workflows/upgrade-bridge.yml +++ b/.github/workflows/upgrade-bridge.yml @@ -57,6 +57,12 @@ jobs: name: upgrade-provider runs-on: ubuntu-latest steps: + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Setup tools + uses: ./.github/actions/setup-tools + with: + tools: pulumictl, pulumicli, go, node, dotnet, python, java - name: Call upgrade provider action if: github.event_name == 'workflow_dispatch' uses: pulumi/pulumi-upgrade-provider-action@v0.0.12