Modify the record names to match the LNLS Naming System. #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PV List Update | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
paths: | |
- '**/*.substitution' | |
- '**/*.template' | |
- '**/*.db' | |
jobs: | |
check-pv-list: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Check if PV list was modified | |
run: | | |
if git diff --name-only HEAD^1 | grep -q "PVList.md"; then | |
echo "PV list has been updated." | |
else | |
echo "Error: PV list was not updated!" >&2 | |
exit 1 | |
fi | |