Switch to consuming JSON from GitHub for "latest commit touching file" #228
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: Verify Templating | |
on: | |
pull_request: | |
push: | |
defaults: | |
run: | |
shell: 'bash -Eeuo pipefail -x {0}' | |
jobs: | |
apply-templates: | |
name: Check For Uncomitted Changes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Apply Templates | |
run: ./apply-templates.sh | |
- name: Check Git Status | |
run: | | |
status="$(git status --short)" | |
[ -z "$status" ] |