diff --git a/.github/workflows/weekly-pulumi-update.yml b/.github/workflows/weekly-pulumi-update.yml index 9679615830..e36e73734f 100644 --- a/.github/workflows/weekly-pulumi-update.yml +++ b/.github/workflows/weekly-pulumi-update.yml @@ -121,12 +121,10 @@ jobs: - name: Create PR id: create-pr if: steps.gomod.outputs.changes != 0 - uses: repo-sync/pull-request@v2.6.2 - with: - source_branch: update-pulumi/${{ github.run_id }}-${{ github.run_number }} - destination_branch: master - pr_title: Automated Pulumi/Pulumi upgrade - github_token: ${{ secrets.PULUMI_BOT_TOKEN }} + run: | + ver=$(cat .pulumi.version) + msg="Automated upgrade: bump pulumi/pulumi to ${ver}" + gh pr create -t "$msg" -b "$msg" -B master env: GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }} name: weekly-pulumi-update