From d405e9e8864597cfbe2f2eeea541b7f1698e0c67 Mon Sep 17 00:00:00 2001 From: Andy Baran Date: Thu, 16 Jul 2026 16:13:06 -0400 Subject: [PATCH] ci: add GitHub Actions CI, PR template, and CODEOWNERS Closes #5. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/CODEOWNERS | 1 + .github/pull_request_template.md | 9 +++++++++ .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/ci.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..66a3e34 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @andybaran diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..2550578 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## Checklist + +- [ ] Linked issue included in the PR body (for example, `Closes #N`) +- [ ] Implementation plan was reviewed and approved before code changes +- [ ] Code review has passed +- [ ] Tests and CI are green +- [ ] PR title uses Conventional Commits format +- [ ] No secrets or credentials are committed +- [ ] Squash-merge is intended diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e55d026 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + validate: + name: Validate skill + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Install ShellCheck + run: sudo apt-get update && sudo apt-get install -y shellcheck + + - name: Run ShellCheck + run: shellcheck skills/issue-driven-github-flow/scripts/*.sh tests/*.sh + + - name: Run test suite + run: bash tests/run.sh + + - name: Validate evals JSON + run: python3 -c "import json,sys; json.load(open('skills/issue-driven-github-flow/evals/evals.json'))"