Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit e138ae4

Browse files
committed
adjust only .tx/config automatically
1 parent 42126d1 commit e138ae4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/tx_push.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ jobs:
4343
git config --global user.name 'Transifex update'
4444
git config --global user.email '[email protected]'
4545
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
46-
if [[ -n $(git status -s) ]]
47-
then
48-
git add .
49-
git commit -m "Adjust .tx/config"
46+
if git add .tx/config && git commit -m "Adjust .tx/config"; then
5047
git push
5148
else
5249
echo ".tx/config unchanged"

0 commit comments

Comments
 (0)