From c811989a7a92d5668f3b2d018bb0803f17f3d349 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 27 Oct 2024 02:25:30 +0200 Subject: [PATCH] ci: check `all_changed_files.json` instead of `added_files.json` --- .github/workflows/pr-lint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml index 0e9f7bb6..93c28de7 100644 --- a/.github/workflows/pr-lint.yaml +++ b/.github/workflows/pr-lint.yaml @@ -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