Skip to content

Commit 799b38c

Browse files
committed
Don't push branch if there are no changes
1 parent 48098d0 commit 799b38c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ runs:
7373
- name: Push branch
7474
run: git push origin $BRANCH --force
7575
shell: bash
76+
if: ${{ steps.number_of_changed_files.outputs.COUNT != 0 }}
7677
env:
7778
BRANCH: ${{ github.event.client_payload.branch }}
7879

0 commit comments

Comments
 (0)