Any way to fetch all changed files in a PR's lifetime? #2430
-
Scenario: Say I have a PR with the following commit history: Commit #1: Commit #2: Commit #3: Commit #4: The output of all_changed_files will be a.txt, which makes sense, since that's the only current diff from the target branch. But is there a way to detect b.txt had changes along the way too? I know it's possible to compare two specific commit hashes, but that's not really a viable solution. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @danielap-ma, yes that is supported by default for a pull request event. For more information about the implementation details. See https://github.com/tj-actions/changed-files?tab=readme-ov-file#using-local-git-directory- |
Beta Was this translation helpful? Give feedback.
Hi @danielap-ma, yes that is supported by default for a pull request event.
For more information about the implementation details. See https://github.com/tj-actions/changed-files?tab=readme-ov-file#using-local-git-directory-