Skip to content

Commit

Permalink
Update gh-pr-create.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Apr 17, 2024
1 parent 9b8ba37 commit 193d7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pr-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
branch="generate-$(jq -r '.version' package.json)"
if git rev-parse --verify "$branch"; then
if ! git rev-parse --verify "$branch"; then
git checkout -b "$branch"
git add -A && git commit -m 'Automated changes'
git push -u origin "$branch"
Expand Down

0 comments on commit 193d7d1

Please sign in to comment.