Skip to content

Support Dependabot dynamic event inputs in Docker action - #688

Merged
brettfo merged 1 commit into
mainfrom
dev/brettfo/cli-action
Oct 27, 2026
Merged

brettfo merged 1 commit into
mainfrom
dev/brettfo/cli-action

Conversation

@brettfo

@brettfo brettfo commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Read Dependabot dynamic-event inputs from GITHUB_EVENT_PATH, preserving explicit action-input overrides and environment-token precedence.
  • Support separate bootstrap and container API URLs, retain strict URL/job-ID validation, and clarify missing-input errors and documentation.
  • Add regression coverage for event inputs, precedence, validation, hosted-job bootstrap, and the Docker action's success/failure paths.

GitHub Packages credential creation and execution guards are intentionally deferred to future PRs. This change does not add GITHUB_REGISTRIES_PROXY credential handling.

Validation

  • Full action unit suite passed twice with shuffled execution under Linux/WSL (Linux test binary compiled with Go).
  • Applicable Windows action tests, Go vet, gofmt, YAML lint, and diff checks passed. The full Windows suite encounters the existing Linux-path-dependent TestTranslateVolumes failure.
  • Docker integration coverage was updated but could not run locally because the Docker daemon was unavailable.

The published ghcr.io/dependabot/cli-action:v1 image must be rebuilt through the release process for action users to receive this fix.

@brettfo
brettfo requested review from a team as code owners October 26, 2026 20:38
Comment thread README.md Outdated
Read API URLs, job identifiers, images, and legacy tokens from the dynamic event payload while preserving explicit input precedence. Keep bootstrap and container API destinations separate and cover the hosted input path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 02af271a-ceda-404a-af2d-ea4076dd7a62
@brettfo
brettfo force-pushed the dev/brettfo/cli-action branch from b087793 to 63c9d7c Compare October 26, 2026 21:56
@brettfo
brettfo added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 41663d5 Oct 27, 2026
207 of 210 checks passed
@brettfo
brettfo deleted the dev/brettfo/cli-action branch October 27, 2026 12:12
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