Skip to content

Commit 69ceefb

Browse files
committed
what what
1 parent c33085b commit 69ceefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/push-changes/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
- name: Check for changes in ${{ inputs.working-directory }}
4646
shell: bash
4747
run: |
48-
git diff ${{ github.head_ref || github.ref }} refs/heads/${{ inputs.target-branch }} --staged --quiet -- ${{ inputs.working-directory }}
48+
git diff ${{ github.head_ref || github.ref }}..origin/${{ inputs.target-branch }} --staged --quiet -- ${{ inputs.working-directory }}
4949
continue-on-error: true
5050
id: check-diff
5151
- name: Push changes to ${{ inputs.target-branch }}, if exists

0 commit comments

Comments
 (0)