From 55d5edda6b4d5ef77a65009eeb19b85e2f6d55fc Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Sat, 16 Nov 2024 17:05:44 -0500 Subject: [PATCH] ci: update pr action --- .github/workflows/post-release.yml | 2 +- scripts/generate-template-variations.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 99d097942..e87cbf427 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -94,7 +94,7 @@ jobs: echo "Ref: ${{ github.ref }}" - name: Create pull request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v7 if: steps.commit.outputs.committed == 'true' with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/scripts/generate-template-variations.ts b/scripts/generate-template-variations.ts index 1f388bd7f..ec9cb11ae 100644 --- a/scripts/generate-template-variations.ts +++ b/scripts/generate-template-variations.ts @@ -301,6 +301,7 @@ function log(message: string) { } function execSyncSafe(command: string, options?: Parameters[1]) { try { + console.log(`Executing: ${command}`) execSync(command, options) } catch (error) { if (error instanceof Error) { @@ -317,5 +318,6 @@ function execSyncSafe(command: string, options?: Parameters[1]) } else { console.error('An unexpected error occurred:', error) } + throw error } }