From fc78c3ae0182575e63603af10c4365824004f82c Mon Sep 17 00:00:00 2001 From: Thomas Knickman Date: Tue, 24 Jan 2023 12:50:14 -0500 Subject: [PATCH] feat(release): auto create release PR (#3453) --- .github/workflows/turborepo-release-step-3.yml | 9 ++++++++- cli/internal/packagemanager/fixtures/pnpm-patches.json | 4 +--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/turborepo-release-step-3.yml b/.github/workflows/turborepo-release-step-3.yml index d525955b3e213..7fed06f501e8e 100644 --- a/.github/workflows/turborepo-release-step-3.yml +++ b/.github/workflows/turborepo-release-step-3.yml @@ -155,9 +155,16 @@ jobs: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # TODO: probably don't need to upload this once we've verified the snapshots + # Upload published artifacts in case they are needed for debugging later - name: Upload Artifacts uses: actions/upload-artifact@v3 with: name: turbo-combined path: cli/dist + + - name: Open Pull Request for release branch + uses: peter-evans/create-pull-request@v4 + with: + title: "feat(turborepo): release" + branch: "${{ inputs.release_branch }}" + base: main diff --git a/cli/internal/packagemanager/fixtures/pnpm-patches.json b/cli/internal/packagemanager/fixtures/pnpm-patches.json index 5d501b160eb62..f772bc35ce483 100644 --- a/cli/internal/packagemanager/fixtures/pnpm-patches.json +++ b/cli/internal/packagemanager/fixtures/pnpm-patches.json @@ -2,9 +2,7 @@ "name": "turborepo-prune-removes-patched", "version": "1.0.0", "packageManager": "pnpm@7.15.0", - "workspaces": [ - "packages/*" - ], + "workspaces": ["packages/*"], "pnpm": { "patchedDependencies": { "is-odd@3.0.1": "patches/is-odd@3.0.1.patch"