diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index a4d997bc..9e375a37 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 69c476ff..d302ae68 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