Skip to content

ci: create release PRs with daytonaBot token#69

Merged
MDzaja merged 2 commits into
mainfrom
ci/release-pr-bot-token
Jul 14, 2026
Merged

ci: create release PRs with daytonaBot token#69
MDzaja merged 2 commits into
mainfrom
ci/release-pr-bot-token

Conversation

@aprojic

@aprojic aprojic commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Release automation opens PRs with the default GITHUB_TOKEN. PRs created that way never trigger pull_request workflows, so release PRs get no CI, and it blocks disabling the repo setting "Allow GitHub Actions to create and approve pull requests".

This switches gh pr create in prepare-release and release (sync_gosum) to GITHUBBOT_TOKEN (daytonaBot) via GH_TOKEN. Branch pushes and tag pushes stay on GITHUB_TOKEN. daytonaBot is added to the CLA allowlist so its PRs pass the gate.

To confirm before merge: the GITHUBBOT_TOKEN PAT must cover daytona/clients (PR create). Today it is only exercised against daytonaio/homebrew-cli, so if it is a fine-grained PAT scoped to that repo it needs daytona/clients added.


Summary by cubic

Release PRs are now opened with the daytonaBot token via GH_TOKEN so pull_request workflows run, and we fail fast if GITHUBBOT_TOKEN is missing to avoid CI‑less PRs. daytonaBot is added to the CLA allowlist; branch/tag pushes still use GITHUB_TOKEN.

  • Migration
    • Ensure GITHUBBOT_TOKEN has PR scope for daytona/clients.

Written for commit 96b3fad. Summary will update on new commits.

Review in cubic

Signed-off-by: Ante Projić <anteprojic@gmail.com>
@aprojic aprojic requested a review from MDzaja as a code owner July 14, 2026 10:11
@aprojic aprojic requested a review from MDzaja July 14, 2026 10:11
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. ✅ Thank you!
Posted by the CLA Assistant Lite bot.

@aprojic

aprojic commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

You’re at about 96% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread .github/workflows/prepare-release.yaml
@aprojic

aprojic commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

recheck

github-actions Bot added a commit that referenced this pull request Jul 14, 2026
Signed-off-by: Ante Projić <anteprojic@gmail.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

You’re at about 96% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread .github/workflows/release.yaml
@MDzaja MDzaja merged commit a44ebde into main Jul 14, 2026
29 of 30 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants