diff --git a/.github/workflows/prevent-msgid.py b/.github/workflows/check-msgid-changes.py similarity index 100% rename from .github/workflows/prevent-msgid.py rename to .github/workflows/check-msgid-changes.py diff --git a/.github/workflows/prevent-msgid.yml b/.github/workflows/check-msgid-changes.yml similarity index 65% rename from .github/workflows/prevent-msgid.yml rename to .github/workflows/check-msgid-changes.yml index 088d52f5..3ad9d346 100644 --- a/.github/workflows/prevent-msgid.yml +++ b/.github/workflows/check-msgid-changes.yml @@ -1,12 +1,12 @@ -name: Prevent msgid changes in translations +name: Prevent unintended msgid changes on: pull_request: paths: - - "**/*.po" + - "po/*.po" jobs: - prevent-msgid-changes: + check-msgid-changes: runs-on: ubuntu-latest steps: - name: Checkout @@ -18,4 +18,4 @@ jobs: run: git reset origin/main - name: Check po file changes - run: python3 .github/workflows/prevent-msgid.py + run: python3 .github/workflows/check-msgid-changes.py