Skip to content

Drop unused GitHub App token steps from CI - #143

Merged
stevewithey merged 1 commit into
mainfrom
ci/drop-unused-app-token
Nov 26, 2026
Merged

stevewithey merged 1 commit into
mainfrom
ci/drop-unused-app-token

Conversation

@stevewithey

Copy link
Copy Markdown
Contributor

Why

Dependabot PRs fail CI at the first step. #141 (urllib3 2.7.0 → 2.8.0, fixes alert #28) is one example:

Error: Input required and not supplied: private-key

Runs triggered by Dependabot can't read normal Actions secrets, only Dependabot secrets. DEPENDABOT_APP_PRIVATE_KEY exists only as an org Actions secret, so it comes through empty. vars.DEPENDABOT_APP_ID still resolves because it's a variable.

What

This removes the "Generate GitHub App token" and "Configure git to use HTTPS for gradientlabs-ai repos" steps from ci.yml. CI used them only to fetch private gradientlabs-ai git dependencies, and this repo has never had one: none in uv.lock, either pyproject.toml, or the git history. The steps arrived as boilerplate when ci.yml was created in #130.

Removing them fixes Dependabot runs without copying the App private key into a Dependabot secret, which would hand that credential to Dependabot runs for no benefit.

The Claude remediation workflow still uses the key, but it runs on a schedule or by hand, not from Dependabot, so it's unaffected.

Verification

🤖 Generated with Claude Code

CI minted a GitHub App token and rewrote ssh://git@github.com/gradientlabs-ai/
URLs to HTTPS, but this repo has never had a gradientlabs-ai git
dependency. The steps came in as boilerplate with ci.yml in #130.

Dependabot-triggered runs can't read Actions secrets, so
DEPENDABOT_APP_PRIVATE_KEY is empty and every Dependabot PR fails at
the token step (e.g. #141, urllib3 2.8.0). Removing the steps fixes
that without copying the private key into a Dependabot secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stevewithey
stevewithey enabled auto-merge (squash) November 26, 2026 15:51
@stevewithey
stevewithey requested a review from a team November 26, 2026 15:52
@stevewithey
stevewithey merged commit 2ee6ddd into main Nov 26, 2026
1 check passed
@stevewithey
stevewithey deleted the ci/drop-unused-app-token branch November 26, 2026 15:54
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