diff --git a/.github/workflows/sort.yml b/.github/workflows/sort.yml index 5f6db9fc43b..ed37aed5f64 100644 --- a/.github/workflows/sort.yml +++ b/.github/workflows/sort.yml @@ -22,6 +22,7 @@ jobs: - name: Print sort_lists version run: | python -c "import tools.sort_lists; print(f'Sort Lists Version: {tools.sort_lists.VERSION}')" + python tools/sort_lists.py -v - name: Check for changes in source folder id: changed_files run: | @@ -38,9 +39,11 @@ jobs: python tools/sort_lists.py - name: Commit changes if: env.changed_files + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "44526987+spirillen@users.noreply.github.com" + git config --local user.name "spirillen" git add source/ git commit -m "Sort CSV files" -a git push diff --git a/tools/sort_lists.py b/tools/sort_lists.py index 1857921fdb7..312b29df7fb 100644 --- a/tools/sort_lists.py +++ b/tools/sort_lists.py @@ -12,7 +12,7 @@ import idna import json -VERSION = "0.2b25" # Incremented beta version +VERSION = "0.2b24" # Incremented beta version def find_files_by_name(directory, filenames): matches = []