Skip to content

Commit

Permalink
feat: #1 fixes lint tests workflows (#9)
Browse files Browse the repository at this point in the history
* fix: #1 pr rather than push on prod tag bump

* fix: #1 pr rather than push on prod tag bump
  • Loading branch information
willmcvay authored Jan 29, 2024
1 parent c68f81f commit 00c6651
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
permissions:
contents: write
id-token: write
pull-requests: write

jobs:
release-prod:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 00c6651

Please sign in to comment.