ci: check all_changed_files.json instead of added_files.json

This commit is contained in:
Daniel 2024-10-27 02:25:30 +02:00 committed by GitHub
parent ce2f20eb6b
commit c811989a7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,8 +32,8 @@ jobs:
write_output_files: true
sha: ${{ github.event.pull_request.head.sha }}
- name: Verify the contents of the .github/outputs/added_files.json file
run: cat .github/outputs/added_files.json
- name: Verify the contents of the .github/outputs/all_changed_files.json file
run: cat .github/outputs/all_changed_files.json
- uses: actions/setup-python@v5
with:
@ -42,7 +42,7 @@ jobs:
- name: Run Linter
id: run-linter
continue-on-error: true
run: LINTER_CONFIG=.fff-ir-lint.json python fff-ir-lint/main.py github2 json:.github/outputs/added_files.json > .github/outputs/linter_output.txt
run: LINTER_CONFIG=.fff-ir-lint.json python fff-ir-lint/main.py github2 json:.github/outputs/all_changed_files.json > .github/outputs/linter_output.txt
- name: Verify the contents of the .github/outputs/linter_output.txt file
run: cat .github/outputs/linter_output.txt