René's URL Explorer Experiment


Title: Add tests for `upload-sarif` by mbg · Pull Request #3166 · github/codeql-action · GitHub

Open Graph Title: Add tests for `upload-sarif` by mbg · Pull Request #3166 · github/codeql-action

X Title: Add tests for `upload-sarif` by mbg · Pull Request #3166 · 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 takes parts of #3157: Moves logic from upload-sarif-action.ts to upload-sarif.ts Adds unit test coverage for the functions in upload-sarif.ts Fixes sarif-ids output format to match documen...

X Description: This PR takes parts of #3157: Moves logic from upload-sarif-action.ts to upload-sarif.ts Adds unit test coverage for the functions in upload-sarif.ts Fixes sarif-ids output format to match documen...

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

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:5e5aa803-eb5a-a3df-c982-3d680afe65f0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA51E:28B0A3:A03C75:D78F4F:6A52954B
html-safe-nonce3191e9f5e2998d2125d5a4fffc90cad1a7b318540273d33349112670b7558067
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTFFOjI4QjBBMzpBMDNDNzU6RDc4RjRGOjZBNTI5NTRCIiwidmlzaXRvcl9pZCI6IjEyNDQ2NTM1NjgyMjI0Njc0MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca1a90c39188cc5759019ea9348494b0b1ac9e74e9aaab42b1e36159ee324a979
hovercard-subject-tagpull_request:2869496834
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/3166/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/03c485b8a0a2929cef5a0e4b4867ebddf7e3158c4675f77096fd6fbadc29b0e7/github/codeql-action/pull/3166
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/03c485b8a0a2929cef5a0e4b4867ebddf7e3158c4675f77096fd6fbadc29b0e7/github/codeql-action/pull/3166
og:image:altThis PR takes parts of #3157: Moves logic from upload-sarif-action.ts to upload-sarif.ts Adds unit test coverage for the functions in upload-sarif.ts Fixes sarif-ids output format to match documen...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamembg
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/3166#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F3166
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%2F3166
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/3166
Reloadhttps://github.com/github/codeql-action/pull/3166
Reloadhttps://github.com/github/codeql-action/pull/3166
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 471 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
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/upload-sarif/add-testshttps://github.com/github/codeql-action/tree/mbg/upload-sarif/add-tests
Conversationhttps://github.com/github/codeql-action/pull/3166
Commits8 (8)https://github.com/github/codeql-action/pull/3166/commits
Checkshttps://github.com/github/codeql-action/pull/3166/checks
Files changedhttps://github.com/github/codeql-action/pull/3166/files
Add tests for upload-sarifhttps://github.com/github/codeql-action/pull/3166#top
mbghttps://github.com/mbg
mainhttps://github.com/github/codeql-action/tree/main
mbg/upload-sarif/add-testshttps://github.com/github/codeql-action/tree/mbg/upload-sarif/add-tests
https://github.com/mbg
mbghttps://github.com/mbg
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#issue-3463753290
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
#3157https://github.com/github/codeql-action/pull/3157
Fix upload-sarif Action failing if there are no Code Scanning SARIF files #3123https://github.com/github/codeql-action/pull/3123
#3160https://github.com/github/codeql-action/pull/3160
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/3166
mbghttps://github.com/mbg
September 29, 2025 08:44https://github.com/github/codeql-action/pull/3166#commits-pushed-5fc9e66
https://github.com/mbg
Move findAndUpload to a new modulehttps://github.com/github/codeql-action/pull/3166/commits/5fc9e66105b444f1ef097d1a09900e4d0d0b5270
5fc9e66https://github.com/github/codeql-action/pull/3166/commits/5fc9e66105b444f1ef097d1a09900e4d0d0b5270
https://github.com/mbg
Move core upload-sarif logic to upload-sarif modulehttps://github.com/github/codeql-action/pull/3166/commits/9f452fad0f9ce6172a69b8e024ac62b9bf057c0e
9f452fahttps://github.com/github/codeql-action/pull/3166/commits/9f452fad0f9ce6172a69b8e024ac62b9bf057c0e
https://github.com/mbg
Add some tests for findAndUpload and uploadSarifhttps://github.com/github/codeql-action/pull/3166/commits/6e0b0872fa9da5b0a5442ecfcfecebb8e3fa79c5
6e0b087https://github.com/github/codeql-action/pull/3166/commits/6e0b0872fa9da5b0a5442ecfcfecebb8e3fa79c5
https://github.com/mbg
Test that uploaded files match expectations for each analysis kindhttps://github.com/github/codeql-action/pull/3166/commits/5b3f0ded910bd2f8ff610cf0bf8d2b657fe657ab
5b3f0dehttps://github.com/github/codeql-action/pull/3166/commits/5b3f0ded910bd2f8ff610cf0bf8d2b657fe657ab
https://github.com/mbg
Tests: ensure uploadSpecifiedFiles wasn't called if we don't expect…https://github.com/github/codeql-action/pull/3166/commits/2adc894410deceb53c0abc0883f9c32f1e809cdd
2adc894https://github.com/github/codeql-action/pull/3166/commits/2adc894410deceb53c0abc0883f9c32f1e809cdd
https://github.com/mbg
Fail if no SARIF files were uploadedhttps://github.com/github/codeql-action/pull/3166/commits/5fd2cfe1eff886f8e9f600900eb0a9511ceda7d1
5fd2cfehttps://github.com/github/codeql-action/pull/3166/commits/5fd2cfe1eff886f8e9f600900eb0a9511ceda7d1
https://github.com/mbg
mbghttps://github.com/mbg
code ownerhttps://github.com/github/codeql-action/blob/6a87ebe42bbd3423c818b3d15ce9803ba45bd522/CODEOWNERS#L1
September 29, 2025 08:07https://github.com/github/codeql-action/pull/3166#event-19977087286
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
September 29, 2025 08:07https://github.com/github/codeql-action/pull/3166#event-19977087325
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Sep 29, 2025 https://github.com/github/codeql-action/pull/3166#pullrequestreview-3278441404
View reviewed changes https://github.com/github/codeql-action/pull/3166/files/5fd2cfe1eff886f8e9f600900eb0a9511ceda7d1
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/github/codeql-action/pull/3166#pullrequestreview-3278441404
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
src/upload-sarif.test.tshttps://github.com/github/codeql-action/pull/3166/files/5fd2cfe1eff886f8e9f600900eb0a9511ceda7d1#diff-485c95cedf5bbfd8a5c4ceb315f66e43575dee6139e177f2850802c35eaaa246
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
https://github.com/mbg
mbghttps://github.com/mbg
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#event-19977125360
https://github.com/mbg
mbghttps://github.com/mbg
esbenahttps://github.com/esbena
henrymercerhttps://github.com/henrymercer
September 29, 2025 08:09https://github.com/github/codeql-action/pull/3166#event-19977128483
https://github.com/mbg
https://github.com/apps/copilot-pull-request-reviewer
Update src/upload-sarif.test.tshttps://github.com/github/codeql-action/pull/3166/commits/73fbfb0bbfdd42819e32878ba8bf878614028339
73fbfb0https://github.com/github/codeql-action/pull/3166/commits/73fbfb0bbfdd42819e32878ba8bf878614028339
https://github.com/esbena
esbenahttps://github.com/esbena
Sep 29, 2025 https://github.com/github/codeql-action/pull/3166#pullrequestreview-3278469959
View reviewed changes https://github.com/github/codeql-action/pull/3166/files/73fbfb0bbfdd42819e32878ba8bf878614028339
esbenahttps://github.com/esbena
https://github.com/github/codeql-action/pull/3166#pullrequestreview-3278469959
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
2adc894https://github.com/github/codeql-action/commit/2adc894410deceb53c0abc0883f9c32f1e809cdd
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
src/upload-sarif.test.tshttps://github.com/github/codeql-action/pull/3166/files/6e0b0872fa9da5b0a5442ecfcfecebb8e3fa79c5..5b3f0ded910bd2f8ff610cf0bf8d2b657fe657ab#diff-485c95cedf5bbfd8a5c4ceb315f66e43575dee6139e177f2850802c35eaaa246
esbenahttps://github.com/esbena
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#discussion_r2387085635
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
mbghttps://github.com/mbg
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#discussion_r2387137952
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
esbenahttps://github.com/esbena
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#discussion_r2387241420
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
https://github.com/mbg
mbghttps://github.com/mbg
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#issuecomment-3345681072
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
https://github.com/mbg
mbghttps://github.com/mbg
Sep 29, 2025 https://github.com/github/codeql-action/pull/3166#ref-pullrequest-3464635951
Find, then filter, SARIF files for upload-sarif Action #3167 https://github.com/github/codeql-action/pull/3167
https://github.com/mbg
Fix condition in test workflowhttps://github.com/github/codeql-action/pull/3166/commits/97159624c37c670e79265faed8b4deedf323aa33
9715962https://github.com/github/codeql-action/pull/3166/commits/97159624c37c670e79265faed8b4deedf323aa33
https://github.com/mbg
mbghttps://github.com/mbg
esbenahttps://github.com/esbena
stale reviewhttps://github.com/github/codeql-action/pull/3166#pullrequestreview-3278469959
9715962https://github.com/github/codeql-action/commit/97159624c37c670e79265faed8b4deedf323aa33
September 29, 2025 13:34https://github.com/github/codeql-action/pull/3166#event-19984540413
https://github.com/esbena
esbenahttps://github.com/esbena
Sep 29, 2025 https://github.com/github/codeql-action/pull/3166#pullrequestreview-3279894159
View reviewed changes https://github.com/github/codeql-action/pull/3166/files/97159624c37c670e79265faed8b4deedf323aa33
https://github.com/mbg
mbghttps://github.com/mbg
36adfa7https://github.com/github/codeql-action/commit/36adfa7b0f5334b69b6ccdc55e94eefc75cd3279
Sep 29, 2025https://github.com/github/codeql-action/pull/3166#event-19985336471
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
https://github.com/mbg
mbghttps://github.com/mbg
September 29, 2025 14:06https://github.com/github/codeql-action/pull/3166#event-19985337501
https://github.com/mbg
mbghttps://github.com/mbg
Sep 29, 2025 https://github.com/github/codeql-action/pull/3166#ref-pullrequest-3455141688
Fix upload-sarif not uploading non-.sarif files #3157 https://github.com/github/codeql-action/pull/3157
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 2, 2025 https://github.com/github/codeql-action/pull/3166#ref-pullrequest-3477541185
Merge main into releases/v3 #3172 https://github.com/github/codeql-action/pull/3172
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 3, 2026 https://github.com/github/codeql-action/pull/3166#ref-pullrequest-4198345208
chore: integrate Detekt for static code analysis and add configuration files twangodev/jetplay#12 https://github.com/twangodev/jetplay/pull/12
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%2F3166
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/3166/files/5fd2cfe1eff886f8e9f600900eb0a9511ceda7d1
https://github.com/esbena
esbena https://github.com/esbena
https://github.com/github/codeql-action/pull/3166/files/97159624c37c670e79265faed8b4deedf323aa33
https://github.com/henrymercer
henrymercer https://github.com/henrymercer
https://github.com/mbg
mbg https://github.com/mbg
Please reload this pagehttps://github.com/github/codeql-action/pull/3166
https://github.com/mbg
https://github.com/esbena
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.