René's URL Explorer Experiment


Title: Support additional codeql options by esbena · Pull Request #138 · github/codeql-action · GitHub

Open Graph Title: Support additional codeql options by esbena · Pull Request #138 · github/codeql-action

X Title: Support additional codeql options by esbena · Pull Request #138 · github/codeql-action

Description: This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that runs like this are possible: --logdir is set for all codeql commands, --debug / --tuple-counting are set for some codeql database analyze invocations. This is achieved by reading a JSON object from a special environment variable, and then propagating that object all the way to all codeql invocations. There are two main alternatives to this design: setting the options through additional inputs in each codeql-action action instead of a single shell variable being explicit about the additional supported options instead of propagating an unstructed object the action would then require an update each time a new configurable option is required Questions: What should the environmen variable be named? Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. this change simply reads a new optional environment variable, and doesn't change behaviour if the variable isn't present Confirm the readme has been updated if necessary. the feature is intended for internal codeql users, so documentation is not required

Open Graph Description: This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that ru...

X Description: This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that ru...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:506d31e4-dc3f-a12d-c874-429122e82e3f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E8A:3D4E09:1495A8:1B6439:6A558813
html-safe-noncee040e9fc5a37b05c1a5f691f58f336a05a4b317cf06b1de48f45fec5cf87eae2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RThBOjNENEUwOToxNDk1QTg6MUI2NDM5OjZBNTU4ODEzIiwidmlzaXRvcl9pZCI6IjUzNTE2Mzg4MDAwMzU4NDIwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace068b3d42c2b91e6b8c33c181367678f529b7db530fc6aae279c4bf81dc911f3
hovercard-subject-tagpull_request:464439990
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/138/files
twitter:imagehttps://avatars.githubusercontent.com/u/1924993?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1924993?s=400&v=4
og:image:altThis PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that ru...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3215163789b3dc58dba97bd78a30c20c949f477f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/138/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F138%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/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%2F138%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=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/138/files
Reloadhttps://github.com/github/codeql-action/pull/138/files
Reloadhttps://github.com/github/codeql-action/pull/138/files
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 472 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 156 https://github.com/github/codeql-action/issues
Pull requests 25 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
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
esbenahttps://github.com/esbena
mainhttps://github.com/github/codeql-action/tree/main
esbena/additional-codeql-optionshttps://github.com/github/codeql-action/tree/esbena/additional-codeql-options
Conversation 10 https://github.com/github/codeql-action/pull/138
Findings https://github.com/github/codeql-action/pull/138/findings
Commits 5 https://github.com/github/codeql-action/pull/138/commits
Checks 0 https://github.com/github/codeql-action/pull/138/checks
Files changed https://github.com/github/codeql-action/pull/138/files
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
Support additional codeql options https://github.com/github/codeql-action/pull/138/files#top
Show all changes 5 commits https://github.com/github/codeql-action/pull/138/files
008b006 add ExtraOptions type for codeql commands esbena Aug 10, 2020 https://github.com/github/codeql-action/pull/138/commits/008b0062c6ac3303f93f63484e6b6cac388de017
c2b7b7f add getExtraOptions utility esbena Aug 6, 2020 https://github.com/github/codeql-action/pull/138/commits/c2b7b7f97734fa04a28b0b0581a25f7effce9255
288f49e use ExtraOptions in codeql commands esbena Aug 10, 2020 https://github.com/github/codeql-action/pull/138/commits/288f49eee552ea1740c4b81b35d5cdf6a4e6178d
fd94b16 use template strings instead of concatenations esbena Aug 10, 2020 https://github.com/github/codeql-action/pull/138/commits/fd94b16cf5b5709c3cdbc4e12774eb1caa4c0717
9597f2e build typescript esbena Aug 10, 2020 https://github.com/github/codeql-action/pull/138/commits/9597f2e88980d212c6206518f5b6c598e0f0832e
Clear filters https://github.com/github/codeql-action/pull/138/files
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
codeql.js https://github.com/github/codeql-action/pull/138/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
codeql.js.map https://github.com/github/codeql-action/pull/138/files#diff-325a6cb428a1dafbcfbd43461aa4ae95826c648a3f9a7d7b6e6bf05878152d64
codeql.test.js https://github.com/github/codeql-action/pull/138/files#diff-1df80d9719b2ddaa26ce7e96bbcebb800cd7002b7626a4db497e4b67a7dd2593
codeql.test.js.map https://github.com/github/codeql-action/pull/138/files#diff-d5a6920eaa0ba53427ddc7e8e3157ab0e32b1e67c08ebb5685ab41989fd62bb0
util.js https://github.com/github/codeql-action/pull/138/files#diff-3fb720f70ea34fb2975fd6c38ac4b6b6131373be2abfa4760dfaae8a25daaee2
util.js.map https://github.com/github/codeql-action/pull/138/files#diff-709978ba6652a9d1f2f2cfb89f74b8743ec9a8aac0470253725ecf2c62a1651e
util.test.js https://github.com/github/codeql-action/pull/138/files#diff-141be3d78540748da20f193d2ef9e73b4db3315fa26088ae9672859887a0edba
util.test.js.map https://github.com/github/codeql-action/pull/138/files#diff-2ec6a6b1036bffea2092b87dabc38530948425542e6bbbea9d1d3be8dd96220a
codeql.test.ts https://github.com/github/codeql-action/pull/138/files#diff-a59b656ff6cb8e9e4da88f2f927636ffc66ffadca08a86eb1024f9c2690d8ad9
codeql.ts https://github.com/github/codeql-action/pull/138/files#diff-473ad8cf33ad034dc4f9ae468a3ce5d87106ace4f96f6a23a000261d46efaa60
util.test.ts https://github.com/github/codeql-action/pull/138/files#diff-5b8db3845646ec2fda6f1a8fb2b5b8c67460b5070568f4be6320f344704969cd
util.ts https://github.com/github/codeql-action/pull/138/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/codeql.jshttps://github.com/github/codeql-action/pull/138/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
View file https://github.com/github/codeql-action/blob/9597f2e88980d212c6206518f5b6c598e0f0832e/lib/codeql.js
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/codeql.js.maphttps://github.com/github/codeql-action/pull/138/files#diff-325a6cb428a1dafbcfbd43461aa4ae95826c648a3f9a7d7b6e6bf05878152d64
View file https://github.com/github/codeql-action/blob/9597f2e88980d212c6206518f5b6c598e0f0832e/lib/codeql.js.map
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/codeql.test.jshttps://github.com/github/codeql-action/pull/138/files#diff-1df80d9719b2ddaa26ce7e96bbcebb800cd7002b7626a4db497e4b67a7dd2593
View file https://github.com/github/codeql-action/blob/9597f2e88980d212c6206518f5b6c598e0f0832e/lib/codeql.test.js
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/codeql.test.js.maphttps://github.com/github/codeql-action/pull/138/files#diff-d5a6920eaa0ba53427ddc7e8e3157ab0e32b1e67c08ebb5685ab41989fd62bb0
View file https://github.com/github/codeql-action/blob/9597f2e88980d212c6206518f5b6c598e0f0832e/lib/codeql.test.js.map
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/util.jshttps://github.com/github/codeql-action/pull/138/files#diff-3fb720f70ea34fb2975fd6c38ac4b6b6131373be2abfa4760dfaae8a25daaee2
View file https://github.com/github/codeql-action/blob/9597f2e88980d212c6206518f5b6c598e0f0832e/lib/util.js
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/138/files
Please reload this pagehttps://github.com/github/codeql-action/pull/138/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.