René's URL Explorer Experiment


Title: Improve `Env` abstraction by mbg · Pull Request #4004 · github/codeql-action · GitHub

Open Graph Title: Improve `Env` abstraction by mbg · Pull Request #4004 · github/codeql-action

X Title: Improve `Env` abstraction by mbg · Pull Request #4004 · github/codeql-action

Description: Actions for running CodeQL analysis. Contribute to github/codeql-action development by creating an account on GitHub.

Open Graph Description: This PR cherry-picks some changes from #3994 and addresses review feedback there related to the new Env abstraction. Main changes Functions in action-utils.ts can now be provided with an Env to us...

X Description: This PR cherry-picks some changes from #3994 and addresses review feedback there related to the new Env abstraction. Main changes Functions in action-utils.ts can now be provided with an Env to us...

Opengraph URL: https://github.com/github/codeql-action/pull/4004

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:42636a82-4842-79ef-e40b-0ee49f5bb032
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5C4:1B53F1:99C20:DB12A:6A636D1A
html-safe-noncecdb6baa11782edefb45c415a89195ed1e1c3c70c877e81a55d296e3521ba7b69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUM0OjFCNTNGMTo5OUMyMDpEQjEyQTo2QTYzNkQxQSIsInZpc2l0b3JfaWQiOiIxMTA3Mjk4OTY3OTA5MjY0NjY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdbb8dcb1e519a8ca349886eb528debf95d8bb831ebbe4b5dfb72791db3bcedc2
hovercard-subject-tagpull_request:4022431070
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql-action/4004/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a6aedf2f37d14571c458c1162a1f22a7f0e8634c51d1461b52d9aa2f939625f9/github/codeql-action/pull/4004
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a6aedf2f37d14571c458c1162a1f22a7f0e8634c51d1461b52d9aa2f939625f9/github/codeql-action/pull/4004
og:image:altThis PR cherry-picks some changes from #3994 and addresses review feedback there related to the new Env abstraction. Main changes Functions in action-utils.ts can now be provided with an Env to us...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamembg
hostnamegithub.com
expected-hostnamegithub.com
Nonee7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03
turbo-cache-controlno-cache
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaa341b3f432dc63fa9633042725aec601722a352
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/4004#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4004
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2Fgithub%2Fcodeql-action%2Fpull%2F4004
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/4004
Reloadhttps://github.com/github/codeql-action/pull/4004
Reloadhttps://github.com/github/codeql-action/pull/4004
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 475 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.6k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 157 https://github.com/github/codeql-action/issues
Pull requests 26 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality 2 https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/env-improvementshttps://github.com/github/codeql-action/tree/mbg/env-improvements
Conversationhttps://github.com/github/codeql-action/pull/4004
Findingshttps://github.com/github/codeql-action/pull/4004/findings
Commits10 (10)https://github.com/github/codeql-action/pull/4004/commits
Checkshttps://github.com/github/codeql-action/pull/4004/checks
Files changedhttps://github.com/github/codeql-action/pull/4004/files
Improve Env abstractionhttps://github.com/github/codeql-action/pull/4004#top
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/env-improvementshttps://github.com/github/codeql-action/tree/mbg/env-improvements
https://github.com/mbg
mbghttps://github.com/mbg
Jul 9, 2026https://github.com/github/codeql-action/pull/4004#issue-4846826282
#3994https://github.com/github/codeql-action/pull/3994
changeloghttps://github.com/github/codeql-action/blob/main/CHANGELOG.md
readmehttps://github.com/github/codeql-action/blob/main/README.md
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
mbghttps://github.com/mbg
July 9, 2026 12:14https://github.com/github/codeql-action/pull/4004#commits-pushed-8d24507
https://github.com/mbg
Allow env input for relevant functions in actions-util.tshttps://github.com/github/codeql-action/pull/4004/commits/8d2450759287d43b29b439b77121b516fdc83123
8d24507https://github.com/github/codeql-action/pull/4004/commits/8d2450759287d43b29b439b77121b516fdc83123
https://github.com/mbg
Allow setting environment variableshttps://github.com/github/codeql-action/pull/4004/commits/4c868b3e7e64e90d5dd85207c9a6412d99199b72
4c868b3https://github.com/github/codeql-action/pull/4004/commits/4c868b3e7e64e90d5dd85207c9a6412d99199b72
https://github.com/mbg
Move env var getters out of util.tshttps://github.com/github/codeql-action/pull/4004/commits/1d0e1b20e5f0238c48d4a2bdb81a7e28cffd40e2
1d0e1b2https://github.com/github/codeql-action/pull/4004/commits/1d0e1b20e5f0238c48d4a2bdb81a7e28cffd40e2
https://github.com/mbg
Turn Env into a class, and add ReadOnlyEnvhttps://github.com/github/codeql-action/pull/4004/commits/732911a2faf94a456db7b30e7d7d298ec0d6fee1
732911ahttps://github.com/github/codeql-action/pull/4004/commits/732911a2faf94a456db7b30e7d7d298ec0d6fee1
https://github.com/mbg
Add hasChanged method to Envhttps://github.com/github/codeql-action/pull/4004/commits/be67a7be936375235abfe084bfe0bf4a1bd493f8
be67a7bhttps://github.com/github/codeql-action/pull/4004/commits/be67a7be936375235abfe084bfe0bf4a1bd493f8
https://github.com/mbg
Move ActionsEnvVars to environment.tshttps://github.com/github/codeql-action/pull/4004/commits/a440e35edaa7da26a99db2a8962be7a7db10153c
a440e35https://github.com/github/codeql-action/pull/4004/commits/a440e35edaa7da26a99db2a8962be7a7db10153c
https://github.com/mbg
Add RUNNER_ENVIRONMENT to ActionsEnvVarshttps://github.com/github/codeql-action/pull/4004/commits/80dcb7ccdf33e958fc80b56bab2efeeef1133ddc
80dcb7chttps://github.com/github/codeql-action/pull/4004/commits/80dcb7ccdf33e958fc80b56bab2efeeef1133ddc
https://github.com/mbg
Default to getEnv in setupBaseActionsVarshttps://github.com/github/codeql-action/pull/4004/commits/3f2a29899f809e77bc387c986dd9410c09ec426e
3f2a298https://github.com/github/codeql-action/pull/4004/commits/3f2a29899f809e77bc387c986dd9410c09ec426e
https://github.com/mbg
Simplify getTemporaryDirectoryhttps://github.com/github/codeql-action/pull/4004/commits/97b52d19da4858e08d9ab458078e9fdc27f2e15c
97b52d1https://github.com/github/codeql-action/pull/4004/commits/97b52d19da4858e08d9ab458078e9fdc27f2e15c
https://github.com/mbg
Add CODE_SCANNING_* vars to EnvVar enumhttps://github.com/github/codeql-action/pull/4004/commits/4b164dbc174df46e004e3284afa05e569e8b9134
4b164dbhttps://github.com/github/codeql-action/pull/4004/commits/4b164dbc174df46e004e3284afa05e569e8b9134
https://github.com/mbg
mbghttps://github.com/mbg
mario-camposhttps://github.com/mario-campos
July 9, 2026 13:53https://github.com/github/codeql-action/pull/4004#event-27768170985
https://github.com/mbg
mbghttps://github.com/mbg
Jul 9, 2026https://github.com/github/codeql-action/pull/4004#event-27768171238
https://github.com/mbg
mbghttps://github.com/mbg
code ownerhttps://github.com/github/codeql-action/blob/4581e395f334690391455bc6993ae65775c24332/CODEOWNERS#L1
July 9, 2026 13:53https://github.com/github/codeql-action/pull/4004#event-27768171691
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 9, 2026 13:53https://github.com/github/codeql-action/pull/4004#event-27768171779
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
size/L https://github.com/github/codeql-action/issues?q=state%3Aopen%20label%3Asize%2FL
Jul 9, 2026https://github.com/github/codeql-action/pull/4004#event-27768189499
started reviewinghttps://github.com/github/codeql-action/sessions/a0508850-45e3-4e4f-93db-c408b4cb9c73
mbghttps://github.com/mbg
July 9, 2026 13:54https://github.com/github/codeql-action/pull/4004#event-27768195979
View session https://github.com/github/codeql-action/sessions/a0508850-45e3-4e4f-93db-c408b4cb9c73
https://github.com/mbg
mbghttps://github.com/mbg
Jul 9, 2026 https://github.com/github/codeql-action/pull/4004#ref-pullrequest-4819392983
Allow merging Default Setup config with config file #3994 https://github.com/github/codeql-action/pull/3994
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 9, 2026 https://github.com/github/codeql-action/pull/4004#pullrequestreview-4663633820
View reviewed changes https://github.com/github/codeql-action/pull/4004/files/4b164dbc174df46e004e3284afa05e569e8b9134
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/github/codeql-action/pull/4004#pullrequestreview-4663633820
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Excluding content from Copilothttps://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
src/actions-util.tshttps://github.com/github/codeql-action/pull/4004/files/4b164dbc174df46e004e3284afa05e569e8b9134#diff-272a83a2815879238f61d8c6a4358a34cf98138946d7e7e950851282d8ca0b7d
mario-camposhttps://github.com/mario-campos
Jul 9, 2026https://github.com/github/codeql-action/pull/4004#discussion_r3552502474
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
https://github.com/mario-campos
mario-camposhttps://github.com/mario-campos
Jul 9, 2026 https://github.com/github/codeql-action/pull/4004#pullrequestreview-4664028038
View reviewed changes https://github.com/github/codeql-action/pull/4004/files/4b164dbc174df46e004e3284afa05e569e8b9134
mario-camposhttps://github.com/mario-campos
https://github.com/github/codeql-action/pull/4004#pullrequestreview-4664028038
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
https://github.com/mbg
mbghttps://github.com/mbg
merge queuehttps://github.com/github/codeql-action/queue/main
Jul 9, 2026https://github.com/github/codeql-action/pull/4004#event-27770904283
37ea21chttps://github.com/github/codeql-action/commit/37ea21c1fc39ce1fdca668c20c0ce7d34255f97c
Jul 9, 2026https://github.com/github/codeql-action/pull/4004#event-27771636120
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
https://github.com/mbg
mbghttps://github.com/mbg
July 9, 2026 15:06https://github.com/github/codeql-action/pull/4004#event-27771637616
Merge main into releases/v4 #4020 https://github.com/github/codeql-action/pull/4020
Merge releases/v4 into releases/v3 #4022 https://github.com/github/codeql-action/pull/4022
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F4004
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/github/codeql-action/pull/4004/files/4b164dbc174df46e004e3284afa05e569e8b9134
https://github.com/mario-campos
mario-campos https://github.com/mario-campos
https://github.com/github/codeql-action/pull/4004/files/4b164dbc174df46e004e3284afa05e569e8b9134
https://github.com/mbg
mbg https://github.com/mbg
size/L https://github.com/github/codeql-action/issues?q=state%3Aopen%20label%3Asize%2FL
Please reload this pagehttps://github.com/github/codeql-action/pull/4004
https://github.com/mbg
https://github.com/mario-campos
https://github.com/apps/copilot-pull-request-reviewer
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.