Skip to content

Commit

Permalink
chore: pull check
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Apr 21, 2024
1 parent 073f6ba commit c8b417c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull_request_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c8b417c

Please sign in to comment.