ci: save changed file names to file

main
Daniel 2022-12-18 18:35:49 +01:00 committed by GitHub
parent 464fe71202
commit 5dc1ef3318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,10 @@ jobs:
uses: tj-actions/changed-files@v29.0.7
with:
files: "**/*.ir"
separator: "\n"
- name: Save changed file names to file
run: echo '${{ steps.changed-files.outputs.all_changed_files }}' > changed_file_list.txt
- uses: actions/setup-python@v4
with:
@ -36,7 +40,7 @@ jobs:
id: run
continue-on-error: true
with:
run: python fff-ir-lint/main.py github2 ${{ steps.changed-files.outputs.all_changed_files }}
run: python fff-ir-lint/main.py github2 file:changed_file_list.txt
- uses: ntsd/auto-request-changes-action@v2
name: "❌ Request Changes"
@ -59,4 +63,4 @@ jobs:
- name: Fail Pipeline
if: ${{ steps.run.outputs.stderr }}
run: exit 1
run: exit 1