René's URL Explorer Experiment


Title: Allow queries to be specified in the workflow configuration, overriding those set in the config file by sampart · Pull Request #127 · github/codeql-action · GitHub

Open Graph Title: Allow queries to be specified in the workflow configuration, overriding those set in the config file by sampart · Pull Request #127 · github/codeql-action

X Title: Allow queries to be specified in the workflow configuration, overriding those set in the config file by sampart · Pull Request #127 · github/codeql-action

Description: @robertbrignull do you think it's worthwhile adding an integration test for this feature? In time, this will be extended to allow additive behaviour as well as overriding, but I'm currently planning on doing that in a separate PR. Furthermore, re overriding - the way that this PR is implemented means that queries in the workflow file (the newly-added feature) take precedence over the configuration file. I think that's what's wanted from the discussion, but do say if I've got this wrong (CC @jhutchings1). The queries specified in the workflow configuration are comma separated. I'm deliberately not including the ability to escape commas here, as that adds a lot of complexity to support a definite edge case (commas in file names/paths). This is different than what @robertbrignull and @rneatherway proposed (they wanted escaping), so feel free to push back on this one, Robert and Robin. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.

Open Graph Description: @robertbrignull do you think it's worthwhile adding an integration test for this feature? In time, this will be extended to allow additive behaviour as well as overriding, but I'm currently...

X Description: @robertbrignull do you think it's worthwhile adding an integration test for this feature? In time, this will be extended to allow additive behaviour as well as overriding, but I'm c...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:94471ad0-b3e5-dd59-2917-dff7767aa384
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E0E:2D62AB:AA1AF4:E3C64C:6A556854
html-safe-nonceb019cd13162060445a3ae3ee5141c5d8e45252d734fdf79c9aab20eff2c69130
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTBFOjJENjJBQjpBQTFBRjQ6RTNDNjRDOjZBNTU2ODU0IiwidmlzaXRvcl9pZCI6IjYyMTIwNDQ2ODUwMDA5MjczMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf1ec17ecdaecfce7d43afae53ff5f0a7d11a2f74d617ed6c36091f19b2403122
hovercard-subject-tagpull_request:457236334
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/127/files
twitter:imagehttps://avatars.githubusercontent.com/u/1507328?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1507328?s=400&v=4
og:image:alt@robertbrignull do you think it's worthwhile adding an integration test for this feature? In time, this will be extended to allow additive behaviour as well as overriding, but I'm currently...
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
release8201d0b7bc32164c4662de52242e463a356df543
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/127/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F127%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%2F127%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/127/files
Reloadhttps://github.com/github/codeql-action/pull/127/files
Reloadhttps://github.com/github/codeql-action/pull/127/files
Please reload this pagehttps://github.com/github/codeql-action/pull/127/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
samparthttps://github.com/sampart
mainhttps://github.com/github/codeql-action/tree/main
query-overridinghttps://github.com/github/codeql-action/tree/query-overriding
Conversation 21 https://github.com/github/codeql-action/pull/127
Findings https://github.com/github/codeql-action/pull/127/findings
Commits 15 https://github.com/github/codeql-action/pull/127/commits
Checks 0 https://github.com/github/codeql-action/pull/127/checks
Files changed https://github.com/github/codeql-action/pull/127/files
Please reload this pagehttps://github.com/github/codeql-action/pull/127/files
Allow queries to be specified in the workflow configuration, overriding those set in the config file https://github.com/github/codeql-action/pull/127/files#top
Show all changes 15 commits https://github.com/github/codeql-action/pull/127/files
95cef22 Add support for basic query overriding in action file itself sampart Jul 27, 2020 https://github.com/github/codeql-action/pull/127/commits/95cef22589bdd3876fb2d95dd7ff7b4cc7a937f1
2da4570 Allow multiple overriding queries, comma-separated sampart Jul 27, 2020 https://github.com/github/codeql-action/pull/127/commits/2da457060b90ca5a30c556fa9d1008091b7cd62d
f03827d Add new input to the init action configuration sampart Jul 27, 2020 https://github.com/github/codeql-action/pull/127/commits/f03827d513e957c40136de6833320386b1eff271
7b0f432 Add missing JavaScript sampart Jul 30, 2020 https://github.com/github/codeql-action/pull/127/commits/7b0f432c26313fa9da846e630a3af4a0de3dbbed
ca2b74f Make test name more descriptive sampart Jul 30, 2020 https://github.com/github/codeql-action/pull/127/commits/ca2b74f2f81d5540ba4a619a976c1a2e71a89df3
f57bf21 Tidy up test sampart Jul 31, 2020 https://github.com/github/codeql-action/pull/127/commits/f57bf21879f9c749758a33c18faa4d89afd198cc
d998a87 Fix typo sampart Jul 31, 2020 https://github.com/github/codeql-action/pull/127/commits/d998a87469a285c6191c13d930269739eb038b6e
443d18a Improve variable name sampart Jul 31, 2020 https://github.com/github/codeql-action/pull/127/commits/443d18adb74a2f189f81bfa2b286b4f5c64727e4
517d9fa Improve description of queries property sampart Aug 17, 2020 https://github.com/github/codeql-action/pull/127/commits/517d9fad417f9367a57dc6063175cb7c59bed5de
c6f0297 Prevent queries in workflow overriding default queries sampart Aug 24, 2020 https://github.com/github/codeql-action/pull/127/commits/c6f02973accbe8883113b770cbc2d0eef4df1195
7f19f91 Refactor common code to function and add missing test sampart Aug 24, 2020 https://github.com/github/codeql-action/pull/127/commits/7f19f9198a0da72dfc612eedc0c948b0d489a885
129713f Handle errors in workflow queries correctly sampart Aug 24, 2020 https://github.com/github/codeql-action/pull/127/commits/129713f1a0030aba663b339ae4e8cdfb4ffa79cc
bdfd482 Merge branch 'main' into query-overriding sampart Aug 25, 2020 https://github.com/github/codeql-action/pull/127/commits/bdfd48264f88878ed251514de9daf223013e4ad2
ab4e721 Don't refer to config file in contexts where it's not relevant sampart Aug 25, 2020 https://github.com/github/codeql-action/pull/127/commits/ab4e7216d3e94457716c4ac9a99c3d8449952426
e997bdf Merge branch 'main' into query-overriding sampart Aug 25, 2020 https://github.com/github/codeql-action/pull/127/commits/e997bdf637a41f940138398fb8dd5d4d797ff8b0
Clear filters https://github.com/github/codeql-action/pull/127/files
Please reload this pagehttps://github.com/github/codeql-action/pull/127/files
Please reload this pagehttps://github.com/github/codeql-action/pull/127/files
action.yml https://github.com/github/codeql-action/pull/127/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
config-utils.js https://github.com/github/codeql-action/pull/127/files#diff-94bb9198a667c3d0f4c0d027ac5a72ddd64dd8fce51963646a75b15eea8e65bc
config-utils.js.map https://github.com/github/codeql-action/pull/127/files#diff-7792b77b9c686407181d671ef64aae70524a286ab0b9b39fc34680efa7a16ef8
config-utils.test.js https://github.com/github/codeql-action/pull/127/files#diff-d148ca8472e737b403ec8f50182b0c27ea9afdf10de4ea09c907563f7d9c7c34
config-utils.test.js.map https://github.com/github/codeql-action/pull/127/files#diff-4f9b8908c9b0a8133803f7740eaa7a0c93950f9809edb95f06c950dbab40c0f9
config-utils.test.ts https://github.com/github/codeql-action/pull/127/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
config-utils.ts https://github.com/github/codeql-action/pull/127/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
init/action.ymlhttps://github.com/github/codeql-action/pull/127/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
View file https://github.com/github/codeql-action/blob/e997bdf637a41f940138398fb8dd5d4d797ff8b0/init/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/127/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/127/files#diff-fd71db664f07e928bfadb8476a94d8c04c0cb181d42073444aa140a3906d9cde
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/config-utils.jshttps://github.com/github/codeql-action/pull/127/files#diff-94bb9198a667c3d0f4c0d027ac5a72ddd64dd8fce51963646a75b15eea8e65bc
View file https://github.com/github/codeql-action/blob/e997bdf637a41f940138398fb8dd5d4d797ff8b0/lib/config-utils.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/127/files
Please reload this pagehttps://github.com/github/codeql-action/pull/127/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.