Compare with previous commit in a PR #1099
Answered
by
jackton1
Pythonic-Rainbow
asked this question in
Q&A
-
When a commit is pushed to a PR, is there a way to compare it with the previous commit in that PR branch? |
Beta Was this translation helpful? Give feedback.
Answered by
jackton1
Apr 23, 2023
Replies: 1 comment
-
Hi @Pythonic-Rainbow, to compare changes between the current commit and the last pushed remote commit set …
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
with:
since_last_remote_commit: true
… For more information consult the usage documentation: https://github.com/tj-actions/changed-files#usage |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jackton1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Pythonic-Rainbow, to compare changes between the current commit and the last pushed remote commit set
since_last_remote_commit: true
. e.gFor more information consult the usage documentation: https://github.com/tj-actions/changed-files#usage