Skip to content

ci: use PAT for release-please to trigger CI on autorelease PRs#91

Merged
aeneasr merged 5 commits intomainfrom
worktree-fix-ci
Apr 2, 2026
Merged

ci: use PAT for release-please to trigger CI on autorelease PRs#91
aeneasr merged 5 commits intomainfrom
worktree-fix-ci

Conversation

@aeneasr
Copy link
Copy Markdown
Member

@aeneasr aeneasr commented Apr 2, 2026

Summary

GitHub suppresses pull_request events when a PR is opened via GITHUB_TOKEN, so CI never runs on release-please PRs and required status checks can't pass.

Passing a PAT via RELEASE_PLEASE_TOKEN causes the PR to be opened as a real actor, which does trigger the pull_request event and CI runs normally. This is the officially documented solution.

Action required

Add a RELEASE_PLEASE_TOKEN secret to the repo: a PAT with contents: write and pull-requests: write scopes.

🤖 Generated with Claude Code

aeneasr and others added 5 commits April 2, 2026 20:18
…ustom models

Allows users to run unlisted embedding models (quantized variants, local
fine-tunes, models on non-standard ports) without forking or modifying
KnownModels. Both variables are independently overridable — LUMEN_EMBED_DIMS
is required for unknown models; LUMEN_EMBED_CTX overrides context length for
any model and defaults to 8192 for unlisted ones.

Adds table-driven TestLoad covering: known model (no overrides, each variable
independently, both), unknown model (DIMS only, DIMS+CTX, neither → error,
CTX-only → error).

Documents new env vars and custom model usage in README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove the `github.actor != 'release-please[bot]'` guards so CI jobs
run on autorelease PRs — required for branch protection checks to pass
before merging.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub suppresses pull_request events when a PR is opened via
GITHUB_TOKEN, so CI never runs on release-please PRs. Passing a PAT
via RELEASE_PLEASE_TOKEN causes the PR to be opened as a real actor,
which does trigger the pull_request event and CI.

Requires a RELEASE_PLEASE_TOKEN secret (PAT with contents:write and
pull-requests:write) to be added to the repo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub suppresses pull_request events when a PR is opened via
GITHUB_TOKEN, so CI never runs on release-please PRs. Passing a PAT
via RELEASE_PLEASE_TOKEN causes the PR to be opened as a real actor,
which triggers the pull_request event and CI normally.

Requires a RELEASE_PLEASE_TOKEN secret (PAT with contents:write and
pull-requests:write scopes) to be added to the repo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aeneasr aeneasr merged commit a6721d7 into main Apr 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant