diff --git a/.agents/skills/api-types/SKILL.md b/.agents/skills/api-types/SKILL.md index 3d206497a2c..f9aefbc9bb6 100644 --- a/.agents/skills/api-types/SKILL.md +++ b/.agents/skills/api-types/SKILL.md @@ -24,4 +24,4 @@ Complete the update only when `pnpm api:verify-types` passes after the productio ## Pull requests -The `Verify production API types` CI job runs when `packages/api-types/types/**` changes and performs the same production comparison. It is currently observational, not a required merge check. The `api-deploy-required` label is informational only. Still run the local verifier before requesting review and treat a failed CI verification as production drift that must be resolved. +The `Verify production API types` CI job runs when `packages/api-types/types/**` changes and performs the same production comparison. It is a required merge check. Run the local verifier before requesting review and treat a failed CI verification as production drift that must be resolved. diff --git a/.github/labeler.yml b/.github/labeler.yml index 24471e243d5..47e4683c5fe 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -8,8 +8,3 @@ documentation: self-hosted: - changed-files: - any-glob-to-any-file: 'apps/docs/content/guides/self-hosting/**/*' - -# Add 'api-deploy-required' to any change in packages/api-types/types -api-deploy-required: - - changed-files: - - any-glob-to-any-file: 'packages/api-types/types/**' diff --git a/.github/workflows/label_prs.yml b/.github/workflows/label_prs.yml index 50af84c9457..992577dca48 100644 --- a/.github/workflows/label_prs.yml +++ b/.github/workflows/label_prs.yml @@ -2,6 +2,8 @@ name: 'Pull Request Labeler' on: pull_request_target: + paths: + - 'apps/docs/**/*' jobs: labeler: @@ -10,17 +12,4 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - id: label - uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0 - - - name: Comment when api-deploy-required is auto-applied - if: contains(steps.label.outputs.new-labels, 'api-deploy-required') - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 - with: - script: | - await github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: 'The `api-deploy-required` label was auto-applied to this PR because it updates the API types. The `Verify production API types` check reports whether the committed types match production; it is currently observational and does not block merging.', - }) + - uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0