From 2f75144e78985236e326943350d6b5645afeaef2 Mon Sep 17 00:00:00 2001 From: Florian Stadler Date: Mon, 13 Jan 2025 17:04:21 +0100 Subject: [PATCH] chore: fix weekly-pulumi-update (#1475) Fixes https://github.com/pulumi/pulumi-awsx/issues/1474 P1 Applying a known workaround to a GitHub CLI issue. Co-authored-by: Anton Tayanovskyy --- .github/workflows/weekly-pulumi-update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly-pulumi-update.yml b/.github/workflows/weekly-pulumi-update.yml index 919016c6f..6550a4dc7 100644 --- a/.github/workflows/weekly-pulumi-update.yml +++ b/.github/workflows/weekly-pulumi-update.yml @@ -93,7 +93,8 @@ jobs: env: GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }} run: | - gh pr create --title "Update pulumi/pulumi version to $PULUMI_VERSION" --body "Upgrading pulumi/pkg and pulumi/sdk to version $PULUMI_VERSION." + # See https://github.com/cli/cli/issues/6485#issuecomment-2560935183 for --head workaround + gh pr create --title "Update pulumi/pulumi version to $PULUMI_VERSION" --body "Upgrading pulumi/pkg and pulumi/sdk to version $PULUMI_VERSION." --head $(git branch --show-current) - name: Enable auto-merge if: steps.gomod.outputs.changes != 0 && github.event_name == 'schedule' env: