Skip to content

Commit

Permalink
Fix workflow auto_messages_pot for has_diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Jun 2, 2024
1 parent 9be8d73 commit 99e0ea6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto_messages_pot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
cd tools/readme_generator/
pybabel extract --ignore-dirs venv -F babel.cfg -o messages.pot .
HAS_DIFF=$(python .github/diff_pot_files.py tools/readme_generator/messages.pot.old tools/readme_generator/messages.pot)
echo "HAS_DIFF=$HAS_DIFF" >> $GITHUB_ENV
- name: Create Pull Request
if: ${{ env.HAS_DIFF == 'true' }}
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 99e0ea6

Please sign in to comment.