mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-16 06:39:46 +02:00
a2bb4dab11
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`.
22 lines
412 B
YAML
22 lines
412 B
YAML
name: Prevent unintended msgid changes
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "po/*.po"
|
|
|
|
jobs:
|
|
check-msgid-changes:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Reset git
|
|
run: git reset origin/main
|
|
|
|
- name: Check po file changes
|
|
run: python3 .github/workflows/check-msgid-changes.py
|