Skip to content

Commit cc0967d

Browse files
authored
chore: push changes to release files only if there is a pull request (#102)
1 parent 180faec commit cc0967d

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
@@ -44,6 +44,7 @@ jobs:
4444
git commit -m 'chore: Format CHANGELOG.md with Prettier' --no-verify
4545
4646
- name: Push changes
47+
if: ${{ steps.release.outputs.pr }}
4748
uses: ad-m/github-push-action@master
4849
with:
4950
github_token: ${{ secrets.RELEASE_PR_TOKEN }}

0 commit comments

Comments
 (0)