Skip to content

ci: drop broken REPO_TOKEN + grant contents:write#117

Merged
erwan-joly merged 1 commit intomasterfrom
ci/release-permissions
Apr 23, 2026
Merged

ci: drop broken REPO_TOKEN + grant contents:write#117
erwan-joly merged 1 commit intomasterfrom
ci/release-permissions

Conversation

@erwan-joly
Copy link
Copy Markdown
Contributor

The release asset upload failed on tag 4.1.0 with 'Bad credentials' because REPO_TOKEN is stale. Drop the explicit token and rely on the default GITHUB_TOKEN with contents:write scope. Same pattern as NosCore.Packets and NosCore.Shared PRs.

The release asset upload was hitting 'Bad credentials' because
secrets.REPO_TOKEN is expired / not set. Remove the explicit token
override and add job-level contents:write so the default GITHUB_TOKEN
has enough scope to create the GitHub release. NuGet push is unaffected
and already worked via NUGET_API_KEY.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Warning

Rate limit exceeded

@erwan-joly has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 44 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 8 minutes and 44 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5f5d35e4-156c-4307-9ee2-dd0a50036dde

📥 Commits

Reviewing files that changed from the base of the PR and between 9131415 and e3531e5.

📒 Files selected for processing (1)
  • .github/workflows/dotnet.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/release-permissions

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

@erwan-joly erwan-joly merged commit e37d783 into master Apr 23, 2026
3 checks passed
@erwan-joly erwan-joly deleted the ci/release-permissions branch April 23, 2026 11:43
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