1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-08-09 16:58:19 +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
2 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1,21 @@
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