@@ -55,36 +55,18 @@ jobs:
5555 raise SystemExit("Expected pattern was not found in transifex-util.py")
5656 p.write_text(s.replace(old, new))
5757 PY
58- grep -n "JOBS=1" transifex-util.py
5958 - run : ./transifex-util.py recreate_tx_config --language ru --project-slug python-newest --version ${{ matrix.version }}
6059 env :
6160 TX_TOKEN : ${{ secrets.TX_TOKEN }}
6261 - run : ./transifex-util.py fetch --language ru --pull-options="--mode reviewed" --project-slug python-newest --version ${{ matrix.version }}
6362 env :
6463 TX_TOKEN : ${{ secrets.TX_TOKEN }}
6564 - run : ./transifex-util.py delete_obsolete_files --language ru --project-slug python-newest --version ${{ matrix.version }}
66- - name : Debug fetched files
67- run : |
68- set -euxo pipefail
69- echo "== git status =="
70- git status --short --ignored
71- echo "== untracked files =="
72- git ls-files -o --exclude-standard
73- echo "== ignored files =="
74- git ls-files -oi --exclude-standard
75- echo "== worktree diff =="
76- git diff --name-status -- . ':!transifex-util.py'
77- echo "== cached diff =="
78- git diff --cached --name-status -- . ':!transifex-util.py'
7965 - name : Set up Git
8066 run : |
8167 git config --local user.email github-actions@github.com
8268 git config --local user.name "GitHub Action's update-translation job"
8369 - run : git add . ':!transifex-util.py'
84- - name : Debug staged files
85- run : |
86- echo "== staged after git add =="
87- git diff --cached --name-status -- . ':!transifex-util.py'
8870 - name : Filter files
8971 run : |
9072 ! git diff --cached -I'^"POT-Creation-Date: ' \
0 commit comments