mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-23 08:07:38 +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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "**/*.po"
|
- "po/*.po"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prevent-msgid-changes:
|
check-msgid-changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -18,4 +18,4 @@ jobs:
|
|||||||
run: git reset origin/main
|
run: git reset origin/main
|
||||||
|
|
||||||
- name: Check po file changes
|
- name: Check po file changes
|
||||||
run: python3 .github/workflows/prevent-msgid.py
|
run: python3 .github/workflows/check-msgid-changes.py
|
Loading…
x
Reference in New Issue
Block a user