1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-16 14:53:28 +02:00
comprehensive-rust/.github/workflows/check-msgid-changes.yml
Martin Geisler a2bb4dab11
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`.
2023-10-22 16:37:34 +02:00

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