Skip to content

Commit 79ccbe5

Browse files
committed
chore: only try to push changes when release PR is created
1 parent 0b26309 commit 79ccbe5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
git commit -m 'chore: Format CHANGELOG.md with Prettier' --no-verify
4646
4747
- name: Push changes
48+
if: ${{ steps.release.outputs.pr }}
4849
uses: ad-m/github-push-action@master
4950
with:
5051
github_token: ${{ secrets.RELEASE_PR_TOKEN }}

0 commit comments

Comments
 (0)