René's URL Explorer Experiment


Title: Allow the codeql-action to run packages by aeisenberg · Pull Request #545 · github/codeql-action · GitHub

Open Graph Title: Allow the codeql-action to run packages by aeisenberg · Pull Request #545 · github/codeql-action

X Title: Allow the codeql-action to run packages by aeisenberg · Pull Request #545 · github/codeql-action

Description: This commit adds a packs option to the codeql-config.yml file. Users can specify a list of ql packs to include in the analysis. For a single language analysis, the packs property looks like this: packs: - pack-scope/pack-name1@1.2.3 - pack-scope/pack-name2 # no explicit version means download the latest For multi-language analysis, you must key the packs block by lanaguage: packs: cpp: - pack-scope/pack-name1@1.2.3 - pack-scope/pack-name2 java: - pack-scope/pack-name3@1.2.3 - pack-scope/pack-name4 This implementation adds a new analysis run (alongside custom and builtin runs). The unit tests indicate that the correct commands are being run, but I have not actually tried this with a real CLI. Also, convert instanceof Array to Array.isArray since that is sightly better in some situations. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#instanceof_vs_isarray Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary. Confirm the changelog has been updated if necessary.

Open Graph Description: This commit adds a packs option to the codeql-config.yml file. Users can specify a list of ql packs to include in the analysis. For a single language analysis, the packs property looks like this: p...

X Description: This commit adds a packs option to the codeql-config.yml file. Users can specify a list of ql packs to include in the analysis. For a single language analysis, the packs property looks like this: p...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0283b5d2-9eeb-b67e-cda0-1cf5385ade71
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C86:276C72:2472B93:31AE555:6A53A04B
html-safe-nonceb451e3a9cc2c8e339d6bfba77d76110753979543c9dd30160ab04fb5ada2b144
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzg2OjI3NkM3MjoyNDcyQjkzOjMxQUU1NTU6NkE1M0EwNEIiLCJ2aXNpdG9yX2lkIjoiNTg2MTY4MDUyODgwNjM1NTAxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8322b32e2e0feda4a890900f9da8fded894fabb4e289f44304f24236a720fbc1
hovercard-subject-tagpull_request:661267026
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/545/files
twitter:imagehttps://avatars.githubusercontent.com/u/363559?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/363559?s=400&v=4
og:image:altThis commit adds a packs option to the codeql-config.yml file. Users can specify a list of ql packs to include in the analysis. For a single language analysis, the packs property looks like this: p...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/545/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F545%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%2F545%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/545/files
Reloadhttps://github.com/github/codeql-action/pull/545/files
Reloadhttps://github.com/github/codeql-action/pull/545/files
Please reload this pagehttps://github.com/github/codeql-action/pull/545/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 24 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
aeisenberghttps://github.com/aeisenberg
mainhttps://github.com/github/codeql-action/tree/main
aeisenberg/pack-runhttps://github.com/github/codeql-action/tree/aeisenberg/pack-run
Conversation 54 https://github.com/github/codeql-action/pull/545
Findings https://github.com/github/codeql-action/pull/545/findings
Commits 15 https://github.com/github/codeql-action/pull/545/commits
Checks 0 https://github.com/github/codeql-action/pull/545/checks
Files changed https://github.com/github/codeql-action/pull/545/files
Please reload this pagehttps://github.com/github/codeql-action/pull/545/files
Allow the codeql-action to run packages https://github.com/github/codeql-action/pull/545/files#top
Show all changes 15 commits https://github.com/github/codeql-action/pull/545/files
86a804f Allow the codeql-action to run packages aeisenberg Jun 3, 2021 https://github.com/github/codeql-action/pull/545/commits/86a804f9a7f546a50620c9e35d9a1f35d9e1e789
6cee818 Add better comments and error messages for pack-related changes aeisenberg Jun 4, 2021 https://github.com/github/codeql-action/pull/545/commits/6cee818bf3e428767056823adb2070f272b2f2b9
9b5753a Fix logic for calculating if there are queries to run aeisenberg Jun 4, 2021 https://github.com/github/codeql-action/pull/545/commits/9b5753ab00a2da87acc917c82c2172f3d7af7528
06687e9 Avoid using `SemVer` instances aeisenberg Jun 4, 2021 https://github.com/github/codeql-action/pull/545/commits/06687e95c8495c63469eb5f9b19c2ddca3aba075
d87945e Run the pack download command aeisenberg Jun 4, 2021 https://github.com/github/codeql-action/pull/545/commits/d87945e9fdd0f7f2b9528dfafa8e231e4fe77606
1cc5f1d Packaging: Address review comments aeisenberg Jun 7, 2021 https://github.com/github/codeql-action/pull/545/commits/1cc5f1d5dd07a0ba41613a8c038c643507d6d677
d42f654 Add an integration test for packaging aeisenberg Jun 8, 2021 https://github.com/github/codeql-action/pull/545/commits/d42f654f7ab2bd398e52ec88903fb2c4c62c17f1
82388fd Merge remote-tracking branch 'upstream/main' into aeisenberg/pack-run aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/82388fd94a28795139f1184a806792c659beaa37
db01c78 Remove unneeded action input in PR check aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/db01c78de0f2313a6ec21d8b9dd4ffa433f23294
49b2220 Refactor codeql.ts aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/49b2220f922b42419e9b35952638748546999fb9
96e7de3 Use nullish conversion for packs aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/96e7de35af4d54c495db23fd2a1e70d295d03225
a2e96a4 Add pack download to its own log group aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/a2e96a4c783ac47007774572298798edfdde0909
23cdd6b Remove two log entries aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/23cdd6bab6adf0411c93916c174ed592dc2bf00b
6a1c070 Avoid running mergeback workflow on PR aeisenberg Jun 9, 2021 https://github.com/github/codeql-action/pull/545/commits/6a1c0700c39c32dc5a62b7d5c08cc242b44711bc
20aafcd Remove unnecessary type assertions aeisenberg Jun 10, 2021 https://github.com/github/codeql-action/pull/545/commits/20aafcd90cbefd2ced81595f43790136c9cf9963
Clear filters https://github.com/github/codeql-action/pull/545/files
Please reload this pagehttps://github.com/github/codeql-action/pull/545/files
Please reload this pagehttps://github.com/github/codeql-action/pull/545/files
post-release-mergeback.yml https://github.com/github/codeql-action/pull/545/files#diff-6f079d6706d71ecc93bf0e8d09d501f762a56d57cf04b3ec634c19d5e4cd8dce
pr-checks.yml https://github.com/github/codeql-action/pull/545/files#diff-1da7a27709d11ac16eef3de8e46ed10672b7b1d63a790ffbcbd23a94b19efdcb
analysis-paths.test.js https://github.com/github/codeql-action/pull/545/files#diff-c34955d16f8d237ea2f635a9f48153decbffc33946b1c7cb822c37ce766da508
analysis-paths.test.js.map https://github.com/github/codeql-action/pull/545/files#diff-bd92077ca457d15f5ad8c1ad068978898ee44496c181fac590843485c57edf7b
analyze.js https://github.com/github/codeql-action/pull/545/files#diff-25bf8c992c0b21f05faca823babe39e91023ac6d29e1a215fab508902b0ea911
analyze.js.map https://github.com/github/codeql-action/pull/545/files#diff-7fdfe78fda03c3ced51fcd6858e5d55fae32980b8ea29998d4b9145d5db243b6
analyze.test.js https://github.com/github/codeql-action/pull/545/files#diff-11b57660d5b83b5e4782555123ea1d1bc9dc15608eb8e395d02c0daad901bb30
analyze.test.js.map https://github.com/github/codeql-action/pull/545/files#diff-f18ded9c6cb58f63c3e33cc802a603d64555769c60e50918ba1608dc067ac173
codeql.js https://github.com/github/codeql-action/pull/545/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
codeql.js.map https://github.com/github/codeql-action/pull/545/files#diff-325a6cb428a1dafbcfbd43461aa4ae95826c648a3f9a7d7b6e6bf05878152d64
config-utils.js https://github.com/github/codeql-action/pull/545/files#diff-94bb9198a667c3d0f4c0d027ac5a72ddd64dd8fce51963646a75b15eea8e65bc
config-utils.js.map https://github.com/github/codeql-action/pull/545/files#diff-7792b77b9c686407181d671ef64aae70524a286ab0b9b39fc34680efa7a16ef8
config-utils.test.js https://github.com/github/codeql-action/pull/545/files#diff-d148ca8472e737b403ec8f50182b0c27ea9afdf10de4ea09c907563f7d9c7c34
config-utils.test.js.map https://github.com/github/codeql-action/pull/545/files#diff-4f9b8908c9b0a8133803f7740eaa7a0c93950f9809edb95f06c950dbab40c0f9
count-loc.test.js https://github.com/github/codeql-action/pull/545/files#diff-9e43dd3518876a315fad94f41e239a07312d04aad3820b49b3ed940dab5d8efd
tracer-config.test.js https://github.com/github/codeql-action/pull/545/files#diff-5ef65bf2e83a6a3c57434fcfe1b265b8a259d9bdadda2b0bd4337cc93eb65446
tracer-config.test.js.map https://github.com/github/codeql-action/pull/545/files#diff-2a5c510e8ceb0e1b10c609aa442902d0503ebea54b48d68f1b15c95f8644d61e
.package-lock.json https://github.com/github/codeql-action/pull/545/files#diff-4a2a59625b3d0885b2b53ebeddf2ea1ef51d1842735cf3501e1e7212b89f0345
analysis-paths.test.ts https://github.com/github/codeql-action/pull/545/files#diff-05162bce3b960838377f4966cd89d1553478f56a1aad56a16afac9845cbc0e9e
analyze.test.ts https://github.com/github/codeql-action/pull/545/files#diff-838e33f9ce27008496afcc3ae8f0e8b868d71d0e3fcdc70d541fca6e00cbcdeb
analyze.ts https://github.com/github/codeql-action/pull/545/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
codeql.ts https://github.com/github/codeql-action/pull/545/files#diff-473ad8cf33ad034dc4f9ae468a3ce5d87106ace4f96f6a23a000261d46efaa60
config-utils.test.ts https://github.com/github/codeql-action/pull/545/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0
config-utils.ts https://github.com/github/codeql-action/pull/545/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
count-loc.test.ts https://github.com/github/codeql-action/pull/545/files#diff-9a70f07479650f0a644b96dd0b0eb3066f354d6df4f522ee5b434fc55bc0fd69
tracer-config.test.ts https://github.com/github/codeql-action/pull/545/files#diff-639453fa7639afbacb1eb69252a70a9020305ba20c6518ea7ed99f8d8ab83631
codeql-config-packaging.yml https://github.com/github/codeql-action/pull/545/files#diff-e02b82b25fac7f0fe3e8bd07fbfc8881c7cd647fc240835bab3e06384cf1c322
main.js https://github.com/github/codeql-action/pull/545/files#diff-74800fec453673cdccf86472887fe58c3a871c81fc3e34e723bb07e75ea59950
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
.github/workflows/post-release-mergeback.ymlhttps://github.com/github/codeql-action/pull/545/files#diff-6f079d6706d71ecc93bf0e8d09d501f762a56d57cf04b3ec634c19d5e4cd8dce
View file https://github.com/github/codeql-action/blob/20aafcd90cbefd2ced81595f43790136c9cf9963/.github/workflows/post-release-mergeback.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/545/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/545/files#diff-6f079d6706d71ecc93bf0e8d09d501f762a56d57cf04b3ec634c19d5e4cd8dce
https://github.com/github/codeql-action/pull/545/files#diff-6f079d6706d71ecc93bf0e8d09d501f762a56d57cf04b3ec634c19d5e4cd8dce
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
.github/workflows/pr-checks.ymlhttps://github.com/github/codeql-action/pull/545/files#diff-1da7a27709d11ac16eef3de8e46ed10672b7b1d63a790ffbcbd23a94b19efdcb
View file https://github.com/github/codeql-action/blob/20aafcd90cbefd2ced81595f43790136c9cf9963/.github/workflows/pr-checks.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/545/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/545/files#diff-1da7a27709d11ac16eef3de8e46ed10672b7b1d63a790ffbcbd23a94b19efdcb
edoardopirovanohttps://github.com/edoardopirovano
Jun 10, 2021https://github.com/github/codeql-action/pull/545/files#r648937340
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/545/files
https://github.com/github/codeql-action/pull/545/files#diff-1da7a27709d11ac16eef3de8e46ed10672b7b1d63a790ffbcbd23a94b19efdcb
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analysis-paths.test.jshttps://github.com/github/codeql-action/pull/545/files#diff-c34955d16f8d237ea2f635a9f48153decbffc33946b1c7cb822c37ce766da508
View file https://github.com/github/codeql-action/blob/20aafcd90cbefd2ced81595f43790136c9cf9963/lib/analysis-paths.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/545/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analysis-paths.test.js.maphttps://github.com/github/codeql-action/pull/545/files#diff-bd92077ca457d15f5ad8c1ad068978898ee44496c181fac590843485c57edf7b
View file https://github.com/github/codeql-action/blob/20aafcd90cbefd2ced81595f43790136c9cf9963/lib/analysis-paths.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/545/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze.jshttps://github.com/github/codeql-action/pull/545/files#diff-25bf8c992c0b21f05faca823babe39e91023ac6d29e1a215fab508902b0ea911
View file https://github.com/github/codeql-action/blob/20aafcd90cbefd2ced81595f43790136c9cf9963/lib/analyze.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/545/files
Please reload this pagehttps://github.com/github/codeql-action/pull/545/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.