René's URL Explorer Experiment


Title: getPullRequestEditedDiffRanges: use GitHub API by cklin · Pull Request #2679 · github/codeql-action · GitHub

Open Graph Title: getPullRequestEditedDiffRanges: use GitHub API by cklin · Pull Request #2679 · github/codeql-action

X Title: getPullRequestEditedDiffRanges: use GitHub API by cklin · Pull Request #2679 · 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 changes getPullRequestEditedDiffRanges so that it no longer obtains the PR diff through Git. Instead, it now obtains the PR diff through the GitHub Compare two commits API.

X Description: This PR changes getPullRequestEditedDiffRanges so that it no longer obtains the PR diff through Git. Instead, it now obtains the PR diff through the GitHub Compare two commits API.

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

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:a6b5c58a-9b73-dc9f-2120-2b7ac81510df
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9444:10CEBD:E1A452:134E689:6A4DCFBE
html-safe-nonce39ecb66f32f602773339e7497ad2f180692cc9368bfbc45e0edea23dfba93fb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQ0OjEwQ0VCRDpFMUE0NTI6MTM0RTY4OTo2QTREQ0ZCRSIsInZpc2l0b3JfaWQiOiI1NzM0ODQyNTg1NDEyNjUyOTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9c776c01a5257ebf7e8842bba53006e235e716edc5713279a4e5b0d2c8dcc2c8
hovercard-subject-tagpull_request:2269301087
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/2679/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/905e5a9acd56eef51f51167d33783fd548fd4f6e3be68554ca7dccd1395ce9f0/github/codeql-action/pull/2679
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/905e5a9acd56eef51f51167d33783fd548fd4f6e3be68554ca7dccd1395ce9f0/github/codeql-action/pull/2679
og:image:altThis PR changes getPullRequestEditedDiffRanges so that it no longer obtains the PR diff through Git. Instead, it now obtains the PR diff through the GitHub Compare two commits API.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecklin
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
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
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/2679#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2679
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F2679
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/2679
Reloadhttps://github.com/github/codeql-action/pull/2679
Reloadhttps://github.com/github/codeql-action/pull/2679
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 470 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 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
cklinhttps://github.com/cklin
mainhttps://github.com/github/codeql-action/tree/main
cklin/get-diff-from-apihttps://github.com/github/codeql-action/tree/cklin/get-diff-from-api
Conversationhttps://github.com/github/codeql-action/pull/2679
Commits8 (8)https://github.com/github/codeql-action/pull/2679/commits
Checkshttps://github.com/github/codeql-action/pull/2679/checks
Files changedhttps://github.com/github/codeql-action/pull/2679/files
getPullRequestEditedDiffRanges: use GitHub APIhttps://github.com/github/codeql-action/pull/2679#top
cklinhttps://github.com/cklin
mainhttps://github.com/github/codeql-action/tree/main
cklin/get-diff-from-apihttps://github.com/github/codeql-action/tree/cklin/get-diff-from-api
https://github.com/cklin
cklinhttps://github.com/cklin
Jan 9, 2025https://github.com/github/codeql-action/pull/2679#issue-2778836421
Compare two commitshttps://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#compare-two-commits
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
https://github.com/apps/github-advanced-security
github-advanced-securityhttps://github.com/apps/github-advanced-security
Jan 9, 2025 https://github.com/github/codeql-action/pull/2679#pullrequestreview-2541025876
View reviewed changes https://github.com/github/codeql-action/pull/2679/files
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
https://github.com/cklin
cklinhttps://github.com/cklin
force-pushedhttps://github.com/github/codeql-action/compare/59dd2062c57249e50e104f542ddae9d3b2d437c8..8fcc2efe373845bfec7f07f8069d2f151da52c0a
59dd206https://github.com/github/codeql-action/commit/59dd2062c57249e50e104f542ddae9d3b2d437c8
8fcc2efhttps://github.com/github/codeql-action/commit/8fcc2efe373845bfec7f07f8069d2f151da52c0a
Compare https://github.com/github/codeql-action/compare/59dd2062c57249e50e104f542ddae9d3b2d437c8..8fcc2efe373845bfec7f07f8069d2f151da52c0a
January 9, 2025 22:39https://github.com/github/codeql-action/pull/2679#event-15874437194
https://github.com/cklin
cklinhttps://github.com/cklin
January 9, 2025 22:54https://github.com/github/codeql-action/pull/2679#event-15874576880
https://github.com/cklin
cklinhttps://github.com/cklin
code ownerhttps://github.com/github/codeql-action/blob/b7ff30899f3f4aa6705d70c1456d7189e1b320ba/CODEOWNERS#L1
January 9, 2025 22:54https://github.com/github/codeql-action/pull/2679#event-15874576945
https://github.com/cklin
cklinhttps://github.com/cklin
henrymercerhttps://github.com/henrymercer
January 9, 2025 22:54https://github.com/github/codeql-action/pull/2679#event-15874579362
https://github.com/cklin
cklinhttps://github.com/cklin
force-pushedhttps://github.com/github/codeql-action/compare/2f17622f34fdf5dd42d12800fae8bd7ac99697b2..2f35487102195a7c227d2b99b910010a182de3bd
2f17622https://github.com/github/codeql-action/commit/2f17622f34fdf5dd42d12800fae8bd7ac99697b2
2f35487https://github.com/github/codeql-action/commit/2f35487102195a7c227d2b99b910010a182de3bd
Compare https://github.com/github/codeql-action/compare/2f17622f34fdf5dd42d12800fae8bd7ac99697b2..2f35487102195a7c227d2b99b910010a182de3bd
January 10, 2025 21:59https://github.com/github/codeql-action/pull/2679#event-15889613565
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
Jan 13, 2025 https://github.com/github/codeql-action/pull/2679#pullrequestreview-2546373179
View reviewed changes https://github.com/github/codeql-action/pull/2679/files
henrymercerhttps://github.com/henrymercer
https://github.com/github/codeql-action/pull/2679#pullrequestreview-2546373179
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
https://github.com/cklin
getPullRequestEditedDiffRanges: use GitHub APIhttps://github.com/github/codeql-action/pull/2679/commits/68378a359ac317d632ec5fb17a2a5f39f7f33da6
68378a3https://github.com/github/codeql-action/pull/2679/commits/68378a359ac317d632ec5fb17a2a5f39f7f33da6
https://github.com/cklin
cklinhttps://github.com/cklin
henrymercerhttps://github.com/henrymercer
stale reviewhttps://github.com/github/codeql-action/pull/2679#pullrequestreview-2546373179
82ea58ehttps://github.com/github/codeql-action/commit/82ea58e95f7bc1c0d0000a72e808819f292e4c76
January 13, 2025 19:47https://github.com/github/codeql-action/pull/2679#event-15911757506
https://github.com/cklin
cklinhttps://github.com/cklin
force-pushedhttps://github.com/github/codeql-action/compare/2f35487102195a7c227d2b99b910010a182de3bd..82ea58e95f7bc1c0d0000a72e808819f292e4c76
2f35487https://github.com/github/codeql-action/commit/2f35487102195a7c227d2b99b910010a182de3bd
82ea58ehttps://github.com/github/codeql-action/commit/82ea58e95f7bc1c0d0000a72e808819f292e4c76
Compare https://github.com/github/codeql-action/compare/2f35487102195a7c227d2b99b910010a182de3bd..82ea58e95f7bc1c0d0000a72e808819f292e4c76
January 13, 2025 19:47https://github.com/github/codeql-action/pull/2679#event-15911757513
cklinhttps://github.com/cklin
January 13, 2025 14:28https://github.com/github/codeql-action/pull/2679#commits-pushed-68b1b4e
https://github.com/cklin
getPullRequestEditedDiffRanges: compute diff rangeshttps://github.com/github/codeql-action/pull/2679/commits/68b1b4e9ebefe8c5b2993e1fd0eb10e10fc7821c
68b1b4ehttps://github.com/github/codeql-action/pull/2679/commits/68b1b4e9ebefe8c5b2993e1fd0eb10e10fc7821c
https://github.com/cklin
getPullRequestEditedDiffRanges: check the number of changed fileshttps://github.com/github/codeql-action/pull/2679/commits/63d1f4f8a22a2a3f57e2bcdc94e4b61a02884c27
63d1f4fhttps://github.com/github/codeql-action/pull/2679/commits/63d1f4f8a22a2a3f57e2bcdc94e4b61a02884c27
https://github.com/cklin
getDiffRanges: improve handling for missing patchhttps://github.com/github/codeql-action/pull/2679/commits/d4c56bbb3164ea1d89016f186c62e78165624878
d4c56bbhttps://github.com/github/codeql-action/pull/2679/commits/d4c56bbb3164ea1d89016f186c62e78165624878
https://github.com/cklin
getDiffRanges: add unit testshttps://github.com/github/codeql-action/pull/2679/commits/784896750fa652cd83a12662bba3924b2e649e60
7848967https://github.com/github/codeql-action/pull/2679/commits/784896750fa652cd83a12662bba3924b2e649e60
https://github.com/cklin
setupDiffInformedQueryRun: log setup failurehttps://github.com/github/codeql-action/pull/2679/commits/52315a9f7dbabdcb518ba45689722c7426f40804
52315a9https://github.com/github/codeql-action/pull/2679/commits/52315a9f7dbabdcb518ba45689722c7426f40804
https://github.com/cklin
writeDiffRangeDataExtensionPack: escape special characters in filenameshttps://github.com/github/codeql-action/pull/2679/commits/3548ff54b5e54db237049bac959e13f48db15a76
3548ff5https://github.com/github/codeql-action/pull/2679/commits/3548ff54b5e54db237049bac959e13f48db15a76
https://github.com/cklin
build: refresh js fileshttps://github.com/github/codeql-action/pull/2679/commits/ae19466961685ea8358129043b2dc0af0597269b
ae19466https://github.com/github/codeql-action/pull/2679/commits/ae19466961685ea8358129043b2dc0af0597269b
https://github.com/cklin
cklinhttps://github.com/cklin
force-pushedhttps://github.com/github/codeql-action/compare/82ea58e95f7bc1c0d0000a72e808819f292e4c76..ae19466961685ea8358129043b2dc0af0597269b
82ea58ehttps://github.com/github/codeql-action/commit/82ea58e95f7bc1c0d0000a72e808819f292e4c76
ae19466https://github.com/github/codeql-action/commit/ae19466961685ea8358129043b2dc0af0597269b
Compare https://github.com/github/codeql-action/compare/82ea58e95f7bc1c0d0000a72e808819f292e4c76..ae19466961685ea8358129043b2dc0af0597269b
January 13, 2025 22:29https://github.com/github/codeql-action/pull/2679#event-15913884327
https://github.com/cklin
cklinhttps://github.com/cklin
Jan 13, 2025https://github.com/github/codeql-action/pull/2679#issuecomment-2588385598
@henrymercerhttps://github.com/henrymercer
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
https://github.com/cklin
cklinhttps://github.com/cklin
henrymercerhttps://github.com/henrymercer
January 13, 2025 22:47https://github.com/github/codeql-action/pull/2679#event-15914076691
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
Jan 14, 2025 https://github.com/github/codeql-action/pull/2679#pullrequestreview-2549493878
View reviewed changes https://github.com/github/codeql-action/pull/2679/files/ae19466961685ea8358129043b2dc0af0597269b
src/analyze.tshttps://github.com/github/codeql-action/pull/2679/files/d4c56bbb3164ea1d89016f186c62e78165624878..784896750fa652cd83a12662bba3924b2e649e60#diff-f9de9e832021754e4f7e493614502e6a12c6adf1d75f666ffdf9c2b8de8d33bc
henrymercerhttps://github.com/henrymercer
Jan 14, 2025https://github.com/github/codeql-action/pull/2679#discussion_r1914685708
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
https://github.com/github
githubhttps://github.com/github
BLOCkCHAINMASTERINChttps://github.com/BLOCkCHAINMASTERINC
Jan 14, 2025https://github.com/github/codeql-action/pull/2679#event-15924739337
https://github.com/cklin
cklinhttps://github.com/cklin
1efc6bbhttps://github.com/github/codeql-action/commit/1efc6bb9cee638a55957d2a72be3a65436af0e57
Jan 14, 2025https://github.com/github/codeql-action/pull/2679#event-15924743160
https://github.com/cklin
cklinhttps://github.com/cklin
January 14, 2025 15:11https://github.com/github/codeql-action/pull/2679#event-15924743624
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 21, 2025 https://github.com/github/codeql-action/pull/2679#ref-pullrequest-2802233137
Merge main into releases/v3 #2708 https://github.com/github/codeql-action/pull/2708
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 28, 2026 https://github.com/github/codeql-action/pull/2679#ref-pullrequest-4157748523
fix: resolve 3 workflow bugs found during integration testing Tony363/SuperClaude#93 https://github.com/Tony363/SuperClaude/pull/93
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%2F2679
https://github.com/henrymercer
henrymercer https://github.com/henrymercer
https://github.com/github/codeql-action/pull/2679/files/ae19466961685ea8358129043b2dc0af0597269b
Please reload this pagehttps://github.com/github/codeql-action/pull/2679
https://github.com/cklin
https://github.com/henrymercer
https://github.com/apps/github-advanced-security
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.