1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-18 12:30:31 +02:00

Rename action to check msgid changes (#1365)

The focus of the action is to check and validate changes to the `msgid`
fields, not to totally prevent such changes.

This also makes the `paths` a little more precise: we only care about
changes to `po/*.po`.
This commit is contained in:
Martin Geisler 2023-10-22 16:37:34 +02:00 committed by GitHub
parent 0c128d9357
commit a2bb4dab11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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