Skip to content

Commit

Permalink
Update sort.yml
Browse files Browse the repository at this point in the history
Signed-off-by: spirillen <44526987+spirillen@users.noreply.github.com>
  • Loading branch information
spirillen authored Jan 19, 2025
1 parent d9ac1d0 commit 102db31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
- name: Check for changes in source folder
id: changed_files
run: |
changed_files=$(git diff --name-only HEAD HEAD~1 | grep -E '^source/')
echo "::set-output name=changed_files::$changed_files"
changed_files=$(git diff --name-only HEAD~1 HEAD | grep -E '^source/')
echo "changed_files=$changed_files" >> $GITHUB_ENV
- name: Sort CSV files
if: ${{ steps.changed_files.outputs.changed_files }}
if: env.changed_files
run: |
python tools/sort_lists.py
- name: Commit changes
if: ${{ steps.changed_files.outputs.changed_files }}
if: env.changed_files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
Expand Down

0 comments on commit 102db31

Please sign in to comment.