From 302d820bb7d1686b0e26d637ab1bd890eb4b0d0d Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Thu, 22 Aug 2024 05:11:41 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/weekly-pulumi-update.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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