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'))"