From 00c6651c89b84dd5f1c0eb01c8de18518afe27f2 Mon Sep 17 00:00:00 2001 From: Will McVay Date: Mon, 29 Jan 2024 14:30:52 +0000 Subject: [PATCH] feat: #1 fixes lint tests workflows (#9) * fix: #1 pr rather than push on prod tag bump * fix: #1 pr rather than push on prod tag bump --- .github/workflows/release-prod.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index 3324312f..bd43d389 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -13,6 +13,7 @@ env: permissions: contents: write id-token: write + pull-requests: write jobs: release-prod: @@ -73,13 +74,14 @@ jobs: run: | yarn version ${{ steps.tagName.outputs.version }} - - name: Commit - uses: stefanzweifel/git-auto-commit-action@v4 + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 with: commit_message: 'chore: bump version to ${{ steps.tagName.outputs.version }}' - branch: main - token: ${{ secrets.GH_PAT }} - push_options: '--force' + title: 'chore: bump version to ${{ steps.tagName.outputs.version }}' + body: Update to version in package.json + base: main + branch: chore/update-version - name: Deploy run: |