From c8b417c75ba56caa9aa5d8598c7f1c50ebb3d25b Mon Sep 17 00:00:00 2001 From: lisonge Date: Sun, 21 Apr 2024 18:00:53 +0800 Subject: [PATCH] chore: pull check --- .github/workflows/pull_request_check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index 7dae581..5273141 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -17,13 +17,13 @@ jobs: - name: Check changed files run: | + for file in ${{ steps.changed_files.outputs.all_changed_files }}; do + echo "$file was changed" + done if [ ${{ steps.changed_files.outputs.all_changed_files_count }} -ne 1 ]; then echo "your changed files count must be 1" exit 1 fi - for file in ${{ steps.changed_files.outputs.all_changed_files }}; do - echo "$file was changed" - done - uses: actions/setup-node@v4 with: