René's URL Explorer Experiment


Title: docs(action): fix missing required or default fields by kranthipoturaju · Pull Request #1007 · actions/setup-java · GitHub

Open Graph Title: docs(action): fix missing required or default fields by kranthipoturaju · Pull Request #1007 · actions/setup-java

X Title: docs(action): fix missing required or default fields by kranthipoturaju · Pull Request #1007 · actions/setup-java

Description: Summary Corrects missing required/default properties and two factually inaccurate descriptions in action.yml. No runtime behaviour is changed. Changes java-version — added required: false (was implicit, now explicit) java-version-file — added required: false; fixed description which stated "the .java-version file" when the action also accepts .tool-versions and .sdkmanrc (see src/util.ts:134–141) gpg-private-key — added default: '' to match the existing description that already stated "Default is empty string" gpg-passphrase — fixed description: GPG_PASSPHRASE is only used as a fallback when gpg-private-key is set; the original implied it was an unconditional default (see src/auth.ts:28–29) job-status — added required: false (had default but no required) token — added required: false (had default but no required) Motivation action.yml is the authoritative contract for users of this action — it drives IDE autocompletion, the Marketplace UI, and schema validators. Four inputs were missing an explicit required field, one was missing its default despite the description documenting it, and two descriptions contradicted the implementation. Impact Users: no change in runtime behaviour; required defaults to false in the GitHub Actions schema when omitted, so adding it explicitly is non-breaking. default: '' for gpg-private-key matches what core.getInput() already returns when the input is unset. Tooling: schema validators and IDE extensions will now correctly reflect these inputs as optional. Backward compatibility: fully preserved — no input names, types, or previously declared defaults were altered. Testing action.yml has no compiled artifact. Each change was verified against the implementation: java-version-file file-format support: src/util.ts:134–141 gpg-passphrase conditional default: src/auth.ts:28–29 gpg-private-key empty default: src/constants.ts:17 required flags: cross-referenced core.getInput() call sites in src/setup-java.ts and src/auth.ts Related issue: No issue was created as the change is for the documentation only. Check list: Mark if documentation changes are required. Mark if tests were added or updated to cover the changes.

Open Graph Description: Summary Corrects missing required/default properties and two factually inaccurate descriptions in action.yml. No runtime behaviour is changed. Changes java-version — added required: false (was imp...

X Description: Summary Corrects missing required/default properties and two factually inaccurate descriptions in action.yml. No runtime behaviour is changed. Changes java-version — added required: false (was imp...

Opengraph URL: https://github.com/actions/setup-java/pull/1007

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:479c9be4-8a1b-81a5-bb26-4b880178f407
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA942:24568D:959E91:CA1786:6A4C467D
html-safe-nonce7dcea5c6faae05d5af9915254226b741d481315d071ddfccf3a5d471af4dc292
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTQyOjI0NTY4RDo5NTlFOTE6Q0ExNzg2OjZBNEM0NjdEIiwidmlzaXRvcl9pZCI6IjI3MTczNTYzNjQ2MzYzNzQ2NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1c8e43760d87a3ad0ca6820362fa39d95e54f308c73718b024adfd54e650734b
hovercard-subject-tagpull_request:3742317209
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,actions,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/actions/setup-java/pull/1007/files
twitter:imagehttps://avatars.githubusercontent.com/u/152148?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/152148?s=400&v=4
og:image:altSummary Corrects missing required/default properties and two factually inaccurate descriptions in action.yml. No runtime behaviour is changed. Changes java-version — added required: false (was imp...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/actions/setup-java git https://github.com/actions/setup-java.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id196057608
octolytics-dimension-repository_nwoactions/setup-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id196057608
octolytics-dimension-repository_network_root_nwoactions/setup-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3996b3b83990e134be6c099ab9a7f48f140ae80f
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/actions/setup-java/pull/1007/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fpull%2F1007%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fpull%2F1007%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=actions%2Fsetup-java
Reloadhttps://github.com/actions/setup-java/pull/1007/files
Reloadhttps://github.com/actions/setup-java/pull/1007/files
Reloadhttps://github.com/actions/setup-java/pull/1007/files
Please reload this pagehttps://github.com/actions/setup-java/pull/1007/files
actions https://github.com/actions
setup-javahttps://github.com/actions/setup-java
Notifications https://github.com/login?return_to=%2Factions%2Fsetup-java
Fork 862 https://github.com/login?return_to=%2Factions%2Fsetup-java
Star 1.9k https://github.com/login?return_to=%2Factions%2Fsetup-java
Code https://github.com/actions/setup-java
Issues 38 https://github.com/actions/setup-java/issues
Pull requests 13 https://github.com/actions/setup-java/pulls
Actions https://github.com/actions/setup-java/actions
Projects https://github.com/actions/setup-java/projects
Security and quality 0 https://github.com/actions/setup-java/security
Insights https://github.com/actions/setup-java/pulse
Code https://github.com/actions/setup-java
Issues https://github.com/actions/setup-java/issues
Pull requests https://github.com/actions/setup-java/pulls
Actions https://github.com/actions/setup-java/actions
Projects https://github.com/actions/setup-java/projects
Security and quality https://github.com/actions/setup-java/security
Insights https://github.com/actions/setup-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Factions%2Fsetup-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Factions%2Fsetup-java%2Fissues%2Fnew%2Fchoose
brunoborgeshttps://github.com/brunoborges
actions:mainhttps://github.com/actions/setup-java/tree/main
kranthipoturaju:docs/fix-action-yml-input-metadatahttps://github.com/kranthipoturaju/setup-java/tree/docs/fix-action-yml-input-metadata
Conversation 3 https://github.com/actions/setup-java/pull/1007
Commits 2 https://github.com/actions/setup-java/pull/1007/commits
Checks 0 https://github.com/actions/setup-java/pull/1007/checks
Files changed 1 https://github.com/actions/setup-java/pull/1007/files
docs(action): fix missing required or default fields https://github.com/actions/setup-java/pull/1007/files#top
Show all changes 2 commits https://github.com/actions/setup-java/pull/1007/files
a9e61af docs(action): fix missing required or default fields May 8, 2026 https://github.com/actions/setup-java/pull/1007/commits/a9e61af83d9059c0437da83a73c0813351e637d3
7f8b72c Merge branch 'main' into docs/fix-action-yml-input-metadata brunoborges Jun 22, 2026 https://github.com/actions/setup-java/pull/1007/commits/7f8b72cbca82c66335b25dfed91a1f43a4bde1d8
Clear filters https://github.com/actions/setup-java/pull/1007/files
Please reload this pagehttps://github.com/actions/setup-java/pull/1007/files
Please reload this pagehttps://github.com/actions/setup-java/pull/1007/files
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
action.ymlhttps://github.com/actions/setup-java/pull/1007/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
View file https://github.com/kranthipoturaju/setup-java/blob/7f8b72cbca82c66335b25dfed91a1f43a4bde1d8/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/1007/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/1007/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
https://github.com/actions/setup-java/pull/1007/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
https://github.com/actions/setup-java/pull/1007/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
Please reload this pagehttps://github.com/actions/setup-java/pull/1007/files
https://github.com/actions/setup-java/pull/1007/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
https://github.com/actions/setup-java/pull/1007/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.