Skip to content

Commit

Permalink
chore: fix weekly-pulumi-update (#1475)
Browse files Browse the repository at this point in the history
Fixes #1474 P1
Applying a known workaround to a GitHub CLI issue.

Co-authored-by: Anton Tayanovskyy <[email protected]>
  • Loading branch information
flostadler and t0yv0 authored Jan 13, 2025
1 parent af3f00e commit 2f75144
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/weekly-pulumi-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2f75144

Please sign in to comment.