Skip to content

Conversation

@olivermeyer
Copy link
Collaborator

@olivermeyer olivermeyer commented Jan 9, 2026

Dependabot PRs cannot access repository secrets (in this case KETRYX_PROJECT and KETRYX_API_KEY), to prevent malicious dependency updates from accessing sensitive information. This means the ketryx_report_and_check step fails for all Dependabot PRs (e.g. #379). This is not a new issue but was ignored until now.

In this PR I skip the Ketryx step when the PR is opened by dependabot[bot]. Important:

  • All other CI checks (lint, audit, test, codeql) still run normally for Dependabot PRs
  • The Ketryx report is still generated when the PR is merged to main

Dependabot PRs do not have access to regular repository secrets
(KETRYX_PROJECT, KETRYX_API_KEY) due to GitHub security restrictions.
This is by design to prevent malicious dependency updates from
accessing sensitive information.

This change skips the ketryx_report_and_check job when the PR
is opened by dependabot[bot]. All other CI checks (lint, audit,
test, codeql) still run normally for Dependabot PRs.

The Ketryx compliance report will still be generated when the PR
is merged to main, so no compliance tracking is lost.

Fixes issue where PR #379 (dependabot) fails with:
'Missing input project' error

Related to successful PR #380 (user-opened) which has access
to all secrets.
@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 8 files with indirect coverage changes

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

@olivermeyer olivermeyer merged commit 9b7631b into main Jan 9, 2026
29 checks passed
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.

3 participants