Skip to content

Commit

Permalink
git add .
Browse files Browse the repository at this point in the history
  • Loading branch information
shun2wang committed Dec 15, 2023
1 parent 982c6d3 commit 0bb2995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: staging
run: |
ls -d ${{ github.workspace }}/psychopy/app/locale/*/*/*.mo \
| grep -R --exclude-dir=en_US ${{ github.workspace }} | xargs git add -f
| grep -R --exclude-dir=en_US ${{ github.workspace }} | xargs git add .
echo "NUM_OF_STAGED=$(git diff --staged --name-only | wc -l)" >> $GITHUB_OUTPUT
- name: Push translation changes
Expand All @@ -40,6 +40,6 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
ls -d ${{ github.workspace }}/psychopy/app/locale/*/*/*.mo \
| grep -R --exclude-dir=en_US ${{ github.workspace }} | xargs git add
| grep -R --exclude-dir=en_US ${{ github.workspace }} | xargs git add .
git commit -m "[bot] Docs: Update translations"
git push

0 comments on commit 0bb2995

Please sign in to comment.