Skip to content

fix(ci): drop environment gate and id-token from publish workflow#53

Merged
ascender1729 merged 1 commit into
mainfrom
fix/publish-workflow-startup
Apr 17, 2026
Merged

fix(ci): drop environment gate and id-token from publish workflow#53
ascender1729 merged 1 commit into
mainfrom
fix/publish-workflow-startup

Conversation

@ascender1729

Copy link
Copy Markdown
Member

Fixes the startup_failure on the v0.3.0 publish run. Removes the environment: pypi gate and id-token: write permission since we publish via PYPI_API_TOKEN secret, not OIDC trusted publishing.

The v0.3.0 publish run hit startup_failure with 0 jobs and no logs,
which typically indicates GitHub rejected the workflow at the orchestrator
layer before any job started. The most likely cause on this org is the
combination of environment: pypi plus id-token: write (which triggers
OIDC provisioning) against an environment that is not configured for
trusted publishing. Since we publish with the PYPI_API_TOKEN secret, not
OIDC, we do not need id-token: write, and removing the environment gate
lets the workflow start.

The PYPI_API_TOKEN secret is still used and still scoped to the repo.
We can re-enable the environment later once Trusted Publishing is set
up on PyPI.
@coderabbitai

coderabbitai Bot commented Apr 17, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@ascender1729 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 45 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 55 minutes and 45 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: ASSERTIVE

Plan: Pro

Run ID: 7beb8101-1a68-4e23-96da-029ba1058137

📥 Commits

Reviewing files that changed from the base of the PR and between a7512c6 and 4605a7a.

📒 Files selected for processing (1)
  • .github/workflows/publish.yml

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'ignore'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/publish-workflow-startup

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.

@ascender1729 ascender1729 merged commit e57fc27 into main Apr 17, 2026
17 of 18 checks passed
@ascender1729 ascender1729 deleted the fix/publish-workflow-startup branch April 17, 2026 20:34
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