Skip to content

Commit

Permalink
Fixing issue where git diff command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jadesym committed Nov 17, 2022
1 parent d90ed95 commit b368f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The commit hash of the commit that was reverted.
if: always() && (needs.tests.result == 'failure')
steps:
- name: Automatic Commit Revert
uses: 'tofu-apis/[email protected].27'
uses: 'tofu-apis/[email protected].31'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
is-push-enabled: 'true'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
shell: bash
- name: Outputting diff of revert commit
if: ${{ inputs.should-log-diff == 'true' }}
run: git diff --no-pager --color ${{ github.ref_name }}
run: git --no-pager diff --color ${{ github.ref_name }}
shell: bash
- name: Automatic commit push to repo
if: ${{ inputs.is-push-enabled == 'true' }}
Expand Down

0 comments on commit b368f43

Please sign in to comment.