René's URL Explorer Experiment


Title: feat: Add cache-write input for read-only cache mode by salmanmkc · Pull Request #987 · actions/setup-java · GitHub

Open Graph Title: feat: Add cache-write input for read-only cache mode by salmanmkc · Pull Request #987 · actions/setup-java

X Title: feat: Add cache-write input for read-only cache mode by salmanmkc · Pull Request #987 · actions/setup-java

Description: When cache is set to maven/gradle/sbt, this action restores and saves the dependency cache. For PR workflows there's no way to get restore-only — a malicious PR can poison the cache and have it picked up by trusted runs on main. This adds a cache-write input (defaults to true, backward compatible). When false, the cleanup step skips cache saving entirely. Usage: - uses: actions/setup-java@v5 with: distribution: temurin java-version: 21 cache: maven cache-write: ${{ github.event_name != 'pull_request' }} What changed: action.yml — new cache-write input src/cleanup-java.ts — early return in saveCache() when cache-write is false dist/ — rebuilt Same change going into setup-node, setup-python, setup-go, setup-dotnet.

Open Graph Description: When cache is set to maven/gradle/sbt, this action restores and saves the dependency cache. For PR workflows there's no way to get restore-only — a malicious PR can poison the cache and have it...

X Description: When cache is set to maven/gradle/sbt, this action restores and saves the dependency cache. For PR workflows there's no way to get restore-only — a malicious PR can poison the cache and hav...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7f2db189-fc04-273a-00e3-9dbb50f07917
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE486:2D3467:10A3F32:1621B6B:6AED5485
html-safe-nonce8c4bcb5ab345e6574283101fb3c61facc80b585ded9a2cf73e015b7cd830a54d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDg2OjJEMzQ2NzoxMEEzRjMyOjE2MjFCNkI6NkFFRDU0ODUiLCJ2aXNpdG9yX2lkIjoiNDE1NzU5NDgzNDcxMDY0Nzk0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6a4223f83d191dacd53e7a091a42c077e5f800688f53b24cf3d58e3a13c98cdf
hovercard-subject-tagpull_request:3373302924
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/987/files
twitter:imagehttps://avatars.githubusercontent.com/u/32169182?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/32169182?s=400&v=4
og:image:altWhen cache is set to maven/gradle/sbt, this action restores and saves the dependency cache. For PR workflows there's no way to get restore-only — a malicious PR can poison the cache and have it...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/actions/setup-java/pull/987/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fpull%2F987%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-java%2Fpull%2F987%2Ffiles
Sign uphttps://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/987/files
Reloadhttps://github.com/actions/setup-java/pull/987/files
Reloadhttps://github.com/actions/setup-java/pull/987/files
actionshttps://github.com/actions
setup-javahttps://github.com/actions/setup-java
Codehttps://github.com/actions/setup-java
Issues2 (2)https://github.com/actions/setup-java/issues
Pull requestshttps://github.com/actions/setup-java/pulls
Actionshttps://github.com/actions/setup-java/actions
Projectshttps://github.com/actions/setup-java/projects
Security and qualityhttps://github.com/actions/setup-java/security
Insightshttps://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
salmanmkchttps://github.com/salmanmkc
actions:mainhttps://github.com/actions/setup-java/tree/main
salmanmkc:feature/cache-read-onlyhttps://github.com/salmanmkc/setup-java/tree/feature/cache-read-only
Conversation 4 https://github.com/actions/setup-java/pull/987
Commits 3 https://github.com/actions/setup-java/pull/987/commits
Checks 381 https://github.com/actions/setup-java/pull/987/checks
Files changed https://github.com/actions/setup-java/pull/987/files
Please reload this pagehttps://github.com/actions/setup-java/pull/987/files
feat: Add cache-write input for read-only cache mode https://github.com/actions/setup-java/pull/987/files#top
Show all changes 3 commits https://github.com/actions/setup-java/pull/987/files
974f2a8 feat: add cache-write input for read-only cache mode salmanmkc Mar 9, 2026 https://github.com/actions/setup-java/pull/987/commits/974f2a8de3804346cdde940f0a118bc25aae56b3
42f79c3 Merge branch 'main' into feature/cache-read-only brunoborges Jun 22, 2026 https://github.com/actions/setup-java/pull/987/commits/42f79c32e92abfcff5788011ec55bd6ccd93ea7e
79e91a2 Merge branch 'main' into feature/cache-read-only brunoborges Jun 23, 2026 https://github.com/actions/setup-java/pull/987/commits/79e91a236cb4e13879ed6543858111260fbc054b
Clear filters https://github.com/actions/setup-java/pull/987/files
Please reload this pagehttps://github.com/actions/setup-java/pull/987/files
Please reload this pagehttps://github.com/actions/setup-java/pull/987/files
action.yml https://github.com/actions/setup-java/pull/987/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
index.js https://github.com/actions/setup-java/pull/987/files#diff-9d9b93c9a37cd43e82ab7d4127eb0c21181f5eb00c65673f7a605afd94097248
cleanup-java.ts https://github.com/actions/setup-java/pull/987/files#diff-b12c119525ed16b53d2956d8aab534189f602ddabe2ef0449ce9dd17e051fdcf
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
action.ymlhttps://github.com/actions/setup-java/pull/987/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
View file https://github.com/salmanmkc/setup-java/blob/79e91a236cb4e13879ed6543858111260fbc054b/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/987/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/987/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
https://github.com/actions/setup-java/pull/987/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
dist/cleanup/index.jshttps://github.com/actions/setup-java/pull/987/files#diff-9d9b93c9a37cd43e82ab7d4127eb0c21181f5eb00c65673f7a605afd94097248
View file https://github.com/salmanmkc/setup-java/blob/79e91a236cb4e13879ed6543858111260fbc054b/dist/cleanup/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/987/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/987/files#diff-9d9b93c9a37cd43e82ab7d4127eb0c21181f5eb00c65673f7a605afd94097248
https://github.com/actions/setup-java/pull/987/files#diff-9d9b93c9a37cd43e82ab7d4127eb0c21181f5eb00c65673f7a605afd94097248
https://github.com/actions/setup-java/blob/main/.github/CODEOWNERS#L1
src/cleanup-java.tshttps://github.com/actions/setup-java/pull/987/files#diff-b12c119525ed16b53d2956d8aab534189f602ddabe2ef0449ce9dd17e051fdcf
View file https://github.com/salmanmkc/setup-java/blob/79e91a236cb4e13879ed6543858111260fbc054b/src/cleanup-java.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-java/pull/987/{{ revealButtonHref }}
https://github.com/actions/setup-java/pull/987/files#diff-b12c119525ed16b53d2956d8aab534189f602ddabe2ef0449ce9dd17e051fdcf
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Mar 9, 2026https://github.com/actions/setup-java/pull/987/files#r2905255732
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/actions/setup-java/pull/987/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Mar 9, 2026https://github.com/actions/setup-java/pull/987/files#r2905255757
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/actions/setup-java/pull/987/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/actions/setup-java/pull/987/files#diff-b12c119525ed16b53d2956d8aab534189f602ddabe2ef0449ce9dd17e051fdcf
Please reload this pagehttps://github.com/actions/setup-java/pull/987/files
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.