From 5dc1ef33187b5a5cf0934ef84055e1c17ca58414 Mon Sep 17 00:00:00 2001 From: Daniel <71837281+darmiel@users.noreply.github.com> Date: Sun, 18 Dec 2022 18:35:49 +0100 Subject: [PATCH] ci: save changed file names to file --- .github/workflows/pr_lint_review.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_lint_review.yaml b/.github/workflows/pr_lint_review.yaml index 2d4546c7..cf1b5f35 100644 --- a/.github/workflows/pr_lint_review.yaml +++ b/.github/workflows/pr_lint_review.yaml @@ -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 \ No newline at end of file + run: exit 1