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:
parent
0c128d9357
commit
a2bb4dab11
@ -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
|
Loading…
Reference in New Issue
Block a user