Skip to content

Vendor apm-generated .claude/ and .opencode/ into git #14

Vendor apm-generated .claude/ and .opencode/ into git

Vendor apm-generated .claude/ and .opencode/ into git #14

Workflow file for this run

name: APM Sync Check
on:
pull_request:
push:
branches: [main]
env:
APM: uvx --from git+https://github.com/microsoft/apm@v0.8.10 apm
jobs:
apm-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- name: Regenerate vendored APM output from scratch
run: |
rm -rf .claude/ .opencode/
$APM install --force -t claude
$APM install --force -t opencode
- name: Check for drift
run: |
if [ -n "$(git status --porcelain .claude/ .opencode/)" ]; then
echo "::error::Vendored APM output out of sync — run: just agent::apm-vendor"
git diff .claude/ .opencode/
git status .claude/ .opencode/
exit 1
fi