Skip to content

Add automated issue classification with GitHub Agentic Workflows #1

Add automated issue classification with GitHub Agentic Workflows

Add automated issue classification with GitHub Agentic Workflows #1

name: Verify compiled workflows
on:
pull_request:
paths:
- '.github/workflows/*.md'
- '.github/workflows/*.lock.yml'
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install gh-aw CLI
uses: github/gh-aw-actions/setup-cli@80471a493be8c528dd27daf73cd644242a7965e0 # v0.67.1
with:
version: v0.67.1
- name: Recompile workflows
run: gh aw compile
- name: Check for uncommitted changes
run: |
if [ -n "$(git diff)" ]; then
echo "::error::Lock files are out of date. Run 'gh aw compile' and commit the results."
echo ""
git diff --stat
echo ""
git diff -- '*.lock.yml'
exit 1
fi
echo "All lock files are up to date."