Skip to content

Commit 2f75144

Browse files
flostadlert0yv0
andauthored
chore: fix weekly-pulumi-update (#1475)
Fixes #1474 P1 Applying a known workaround to a GitHub CLI issue. Co-authored-by: Anton Tayanovskyy <[email protected]>
1 parent af3f00e commit 2f75144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/weekly-pulumi-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393
env:
9494
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
9595
run: |
96-
gh pr create --title "Update pulumi/pulumi version to $PULUMI_VERSION" --body "Upgrading pulumi/pkg and pulumi/sdk to version $PULUMI_VERSION."
96+
# See https://github.com/cli/cli/issues/6485#issuecomment-2560935183 for --head workaround
97+
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)
9798
- name: Enable auto-merge
9899
if: steps.gomod.outputs.changes != 0 && github.event_name == 'schedule'
99100
env:

0 commit comments

Comments
 (0)