Skip to content

fix: use github token fallback in release workflows#39

Merged
namastex888 merged 1 commit into
mainfrom
fix/auto-release-token
May 31, 2026
Merged

fix: use github token fallback in release workflows#39
namastex888 merged 1 commit into
mainfrom
fix/auto-release-token

Conversation

@namastex888

Copy link
Copy Markdown
Contributor

Summary

  • fix release workflow auth fallback to use the built-in github.token context instead of nonexistent secrets.GITHUB_TOKEN
  • apply the same fallback in auto-release checkout/tag push env and release GoReleaser checkout/env

Root cause

actions/checkout received an empty token when RELEASE_PLEASE_TOKEN was not configured because secrets.GITHUB_TOKEN is not a real secret. The fetch then fell back to unauthenticated HTTPS and failed with could not read Username for 'https://github.com': terminal prompts disabled.

Verification

  • Parsed .github/workflows/auto-release.yml and .github/workflows/release.yml with PyYAML
  • Diff is workflow-only

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@namastex888, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 44 minutes and 29 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bb000319-d9a5-4845-b3db-92065d36187a

📥 Commits

Reviewing files that changed from the base of the PR and between 40955fe and 1ea53b6.

📒 Files selected for processing (2)
  • .github/workflows/auto-release.yml
  • .github/workflows/release.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/auto-release-token

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@namastex888 namastex888 merged commit 3208983 into main May 31, 2026
12 checks passed
@namastex888 namastex888 deleted the fix/auto-release-token branch May 31, 2026 15:42
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.

2 participants