| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Rename credential-related inputs to make their environment-variable semantics explicit while preserving deprecated aliases with migration warnings. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 70a3daa8-dbc9-4eb0-a57b-df198a459315
There was a problem hiding this comment.
This PR renames credential-related inputs to make it explicit they accept environment variable names (not actual usernames/passwords/passphrases), while keeping the old names as deprecated aliases with migration warnings.
Changes:
| File | Description |
|---|---|
| src/constants.ts | Adds new input name constants (and deprecated aliases) plus defaults used by the new inputs. |
| src/auth.ts | Reads inputs via a new helper that supports deprecated aliases + warnings; wires renamed inputs through settings generation. |
| README.md | Updates documented input names and the V6 change notes accordingly. |
| docs/advanced-usage.md | Updates publishing and GPG examples to use the new *-env-var input names. |
| action.yml | Adds the new inputs and keeps deprecated aliases (but currently missing metadata defaults for server inputs). |
| .github/workflows/e2e-publishing.yml | Updates workflow examples to the new input names. |
| __tests__/auth.test.ts | Adds unit tests for deprecated alias behavior and precedence. |
| dist/setup/index.js | Regenerated bundle reflecting the input renames and alias logic. |
| dist/cleanup/index.js | Regenerated bundle reflecting the input renames/constants changes. |
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| server-username-env-var: | ||
| description: 'Environment variable name for the username for authentication | ||
| to the Apache Maven repository. Default is $GITHUB_ACTOR' | ||
| required: false |
Resolve documentation conflicts by retaining the latest V6 examples with the explicit environment-variable input names. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 70a3daa8-dbc9-4eb0-a57b-df198a459315
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Description:
Credential-related input names could be mistaken for inputs that accept actual usernames, passwords, or passphrases, even though they accept environment variable names. Rename them to server-username-env-var, server-password-env-var, and gpg-passphrase-env-var so their semantics are explicit.
The previous names remain available as deprecated aliases and emit migration warnings. When both forms are supplied, the replacement input takes precedence. Documentation, publishing examples, tests, and generated action bundles are updated consistently.
Related issue:
N/A
Check list: