Skip to content

Compare with previous commit in a PR #1099

Answered by jackton1
Pythonic-Rainbow asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Pythonic-Rainbow, to compare changes between the current commit and the last pushed remote commit set since_last_remote_commit: true. e.g


      - 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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jackton1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants