diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a34c7a6c..30ebb469 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: sbom-path: sbom.spdx.json - uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2 with: - subject-path: packages/core/schema.json + subject-path: packages/core/openapi.json - run: npm run release:ci:${{ inputs.release }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/AGENTS.md b/AGENTS.md index ee6bc9ec..badc5789 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -51,6 +51,6 @@ Prefer the scripts in `package.json` over invoking tools directly. ## Boundaries - Don't commit secrets, tokens, or `.env` files. -- Don't edit generated files (`worker-configuration.d.ts`); regenerate with `npm run cf-typegen`. +- Don't edit generated files (`**/worker-configuration.d.ts` and `packages/core/openapi.json`); regenerate with `npm run cf-typegen` and `npm run schema` respectively. - Keep changes scoped to the task. No drive-by refactors or renames. - Do not change any of the OpenAPI surface as this could break clients.