Skip to content

fix: declare registry-username and registry-password inputs in action.yml - #708

Open
Unlxii wants to merge 2 commits into
anchore:mainfrom
Unlxii:patch-1
Open

fix: declare registry-username and registry-password inputs in action.yml#708
Unlxii wants to merge 2 commits into
anchore:mainfrom
Unlxii:patch-1

Conversation

@Unlxii

@Unlxii Unlxii commented Jun 23, 2026

Copy link
Copy Markdown

fix: declare registry-username and registry-password inputs in action.yml

registry-username and registry-password were added to the README and implemented in action.js (via core.getInput()) in #158, but were never declared in action.yml.

This means the inputs are functionally supported but undocumented in the action metadata — no IDE autocomplete, no validation, and the inputs table in README references inputs that don't appear in action.yml.

This PR adds the missing declarations to action.yml to match the existing implementation.

….yml

`registry-username` and `registry-password` were added to the README and implemented in `action.js` (via `core.getInput()`) in anchore#158, but were never declared in `action.yml`.

This means the inputs are functionally supported but undocumented in the action metadata — no IDE autocomplete, no validation, and the inputs table in README references inputs that don't appear in `action.yml`.

This PR adds the missing declarations to `action.yml` to match the existing implementation.

Signed-off-by: tteenntt <87744652+Unlxii@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 23, 2026 10:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the action metadata by declaring the registry-username and registry-password inputs in action.yml, aligning the documented/implemented inputs (added in #158) with the GitHub Action’s published interface so they appear in IDE autocomplete and are validated as supported inputs.

Changes:

  • Added registry-username input declaration to action.yml.
  • Added registry-password input declaration to action.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread action.yml
Comment thread action.yml
Comment on lines +19 to +21
registry-password:
description: "The registry password to use when authenticating to an external registry"
required: false
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: tteenntt <87744652+Unlxii@users.noreply.github.com>
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