We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05333b1 commit 020628cCopy full SHA for 020628c
.github/workflows/validate.yml
@@ -38,7 +38,13 @@ jobs:
38
- name: List All Changed Files
39
if: ${{ !inputs.all_files }}
40
id: list-changed-files
41
- uses: tj-actions/changed-files@v37
+ run: |
42
+ # also fetch main to diff against
43
+ git fetch --depth=1 origin main
44
+ # list Added, Copied, Modified, and Renamed files
45
+ ACMR_FILES=`git diff origin/main --name-only --diff-filter=ACMR | xargs`
46
+ # GitHub Actions output ritual
47
+ echo "all_changed_files=$ACMR_FILES" >> "$GITHUB_OUTPUT"
48
- name: List All Component Files
49
if: ${{ inputs.all_files }}
50
id: list-all-files
0 commit comments