Skip to content

Commit

Permalink
Merge pull request #1097 from carmenbianca/stricter-pot-generation
Browse files Browse the repository at this point in the history
Be stricter about regenerating reuse.pot
  • Loading branch information
carmenbianca authored Oct 24, 2024
2 parents dfe2dc8 + ca7bf90 commit 327bc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gettext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: Check if sufficient lines were changed
id: diff
run:
echo "changed=$(git diff -U0 | grep '^[+|-][^+|-]' | grep -Ev
'^[+-]("POT-Creation-Date|#:)' | wc -l)" >> $GITHUB_OUTPUT
echo "changed=$(git diff -U0 po/reuse.pot | grep '^[+|-][^+|-]' | grep
-Ev '^[+-]("POT-Creation-Date|#:)' | wc -l)" >> $GITHUB_OUTPUT
- name: Commit and push updated reuse.pot
if: ${{ steps.diff.outputs.changed != '0' }}
run: |
Expand Down

0 comments on commit 327bc92

Please sign in to comment.