From e85a83c2c602fc1e9c247b683cd19bbb56355671 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 16 Jan 2026 19:17:36 +0000 Subject: [PATCH] fix: remove stale public/spec/* from update-specs add-paths The update-specs script now writes SVG diagrams to src/content/spec/ alongside the markdown files, not to public/spec/. Remove the unused path from the workflow's add-paths configuration. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/update-specs.yml | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/update-specs.yml diff --git a/.github/workflows/update-specs.yml b/.github/workflows/update-specs.yml new file mode 100644 index 0000000..0073fe5 --- /dev/null +++ b/.github/workflows/update-specs.yml @@ -0,0 +1,47 @@ +name: Update Specs + +on: + workflow_dispatch: + +jobs: + update-specs: + runs-on: ubuntu-latest + steps: + - name: Generate GitHub App Token + id: app-token + uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1 + with: + app-id: ${{ secrets.BOT_APP_ID }} + private-key: ${{ secrets.BOT_PRIVATE_KEY }} + + - name: Checkout + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + with: + token: ${{ steps.app-token.outputs.token }} + + - name: Setup Node.js + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 + with: + node-version-file: ".node-version" + cache: "npm" + + - name: Install dependencies + run: npm ci + + - name: Update specs + run: npm run update-specs + + - name: Create Pull Request + uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0 + with: + token: ${{ steps.app-token.outputs.token }} + commit-message: "chore: update spec versions" + title: "chore: update spec versions" + body: | + Automated update of spec versions from upstream repository. + + This PR was created by the update-specs workflow. + branch: update-specs + delete-branch: true + add-paths: | + src/content/spec/*