René's URL Explorer Experiment


Title: Allow the codeql-action to be run locally by aeisenberg · Pull Request #117 · github/codeql-action · GitHub

Open Graph Title: Allow the codeql-action to be run locally by aeisenberg · Pull Request #117 · github/codeql-action

X Title: Allow the codeql-action to be run locally by aeisenberg · Pull Request #117 · github/codeql-action

Description: This change allows the codeql-action to be run locally through act. In order to run the action locally, you need to do two things: Add the CODEQL_LOCAL_RUN: true environment variable. The only way I could figure out how to do this was to add it directly in the workflow file in an env block. It should be possible to add it through a .env file and pass it to act, but I couldn't get it working. Run this command act -j codeql -s GITHUB_TOKEN= Setting the CODEQL_LOCAL_RUN env var will fill in missing env vars that the action needs, but isn't set by act. It will also avoid making api calls to github that would fail locally. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.

Open Graph Description: This change allows the codeql-action to be run locally through act. In order to run the action locally, you need to do two things: Add the CODEQL_LOCAL_RUN: true environment variable. The only way...

X Description: This change allows the codeql-action to be run locally through act. In order to run the action locally, you need to do two things: Add the CODEQL_LOCAL_RUN: true environment variable. The only way...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ecdb1c9d-3b44-523a-dd1d-b943b597c719
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id971C:3675D7:4122F8:5B5C1A:6A551BF1
html-safe-nonceae04c927eed75c3005f0a60f6301d530b10a6467f9f427776619e772965201e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzFDOjM2NzVENzo0MTIyRjg6NUI1QzFBOjZBNTUxQkYxIiwidmlzaXRvcl9pZCI6IjI1MTczNzY3Njg4NzAyNTk2OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8a8aaf6d36b60061e42672d86214826fcd8077aa8be2a62396963b807cb1eed7
hovercard-subject-tagpull_request:453909155
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/117/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 change allows the codeql-action to be run locally through act. In order to run the action locally, you need to do two things: Add the CODEQL_LOCAL_RUN: true environment variable. The only way...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5
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
release3b6d37c6470adadff4194742daaab9a817cc4980
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/117/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F117%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%2F117%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/117/files
Reloadhttps://github.com/github/codeql-action/pull/117/files
Reloadhttps://github.com/github/codeql-action/pull/117/files
Please reload this pagehttps://github.com/github/codeql-action/pull/117/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
aeisenberghttps://github.com/aeisenberg
github:mainhttps://github.com/github/codeql-action/tree/main
aeisenberg:aeisenberg/local-runshttps://github.com/aeisenberg/codeql-action/tree/aeisenberg/local-runs
Conversation 33 https://github.com/github/codeql-action/pull/117
Findings https://github.com/github/codeql-action/pull/117/findings
Commits 9 https://github.com/github/codeql-action/pull/117/commits
Checks 0 https://github.com/github/codeql-action/pull/117/checks
Files changed https://github.com/github/codeql-action/pull/117/files
Please reload this pagehttps://github.com/github/codeql-action/pull/117/files
Allow the codeql-action to be run locally https://github.com/github/codeql-action/pull/117/files#top
Show all changes 9 commits https://github.com/github/codeql-action/pull/117/files
588169d Allow the codeql-action to be run locally aeisenberg Jul 20, 2020 https://github.com/github/codeql-action/pull/117/commits/588169db45db374abfbbeae71560f33239f79221
ca1a067 Update readme aeisenberg Jul 20, 2020 https://github.com/github/codeql-action/pull/117/commits/ca1a067243b3cdb8ac4567574ec6f7097fb87b69
12ad05d Some fixes for local runs aeisenberg Jul 21, 2020 https://github.com/github/codeql-action/pull/117/commits/12ad05da2d51e6bd5c24d2fb475ae1c4e17d40a5
5c991a9 Update readme aeisenberg Jul 21, 2020 https://github.com/github/codeql-action/pull/117/commits/5c991a90ab7a1c55f9927ae45de77e89ab9e5a90
4a53919 Fix tests aeisenberg Jul 21, 2020 https://github.com/github/codeql-action/pull/117/commits/4a539199501869e5f3a948fc70ca38765f9b5419
5706df3 Move isLocalRun check to inside upload sarif aeisenberg Jul 30, 2020 https://github.com/github/codeql-action/pull/117/commits/5706df3c0e7f9f5f7528449ed44299ed1835f264
633beb4 Move run locally documentation from readme to contributing aeisenberg Jul 30, 2020 https://github.com/github/codeql-action/pull/117/commits/633beb43f270a4e89adfa63fcbcb7634f272024c
972965e Update CONTRIBUTING.md aeisenberg Jul 30, 2020 https://github.com/github/codeql-action/pull/117/commits/972965e82ed84d9d793d2070479c7da7e2968cd5
36fef7c Allow langauges call to be run locally aeisenberg Aug 4, 2020 https://github.com/github/codeql-action/pull/117/commits/36fef7c0bd7190b166dc41844e5e75838beb80e5
Clear filters https://github.com/github/codeql-action/pull/117/files
Please reload this pagehttps://github.com/github/codeql-action/pull/117/files
Please reload this pagehttps://github.com/github/codeql-action/pull/117/files
CONTRIBUTING.md https://github.com/github/codeql-action/pull/117/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
api-client.js https://github.com/github/codeql-action/pull/117/files#diff-94347f352ede0a83973cdf3b2bd4d1499ea5be7b686fce6fdb34891492941a91
api-client.js.map https://github.com/github/codeql-action/pull/117/files#diff-5db6e95c4e914346af3c523274edfeb6b99180d75ed630fa6a4be778b4e0dcba
autobuild.js https://github.com/github/codeql-action/pull/117/files#diff-d85b7b843f71dd120db4b7f43fc567ca182bf0347b077cd690b7bd650acaa606
autobuild.js.map https://github.com/github/codeql-action/pull/117/files#diff-7e16048c8a24fdf059ab69ea374066068718dd9756280f09d0f281997e8b8ae9
config-utils.js https://github.com/github/codeql-action/pull/117/files#diff-94bb9198a667c3d0f4c0d027ac5a72ddd64dd8fce51963646a75b15eea8e65bc
config-utils.js.map https://github.com/github/codeql-action/pull/117/files#diff-7792b77b9c686407181d671ef64aae70524a286ab0b9b39fc34680efa7a16ef8
finalize-db.js https://github.com/github/codeql-action/pull/117/files#diff-0718e3e92a103d254d2a24b24d8b8cd75970ae3c8b195ec8e4713d392323222c
finalize-db.js.map https://github.com/github/codeql-action/pull/117/files#diff-06c49c3f8e23c5c9bf6fba4b926e5088a3f2b4f48bf74ae64140f7e1822cf683
setup-tracer.js https://github.com/github/codeql-action/pull/117/files#diff-877b143cf413a90c33abd53758e2827d64840dd70d0a6b2cca162e03846a06ea
setup-tracer.js.map https://github.com/github/codeql-action/pull/117/files#diff-23f2b9f88b890e8be64f341f58f8f242ab824a85fe527f24b6c7a37de047ff2d
upload-lib.js https://github.com/github/codeql-action/pull/117/files#diff-8ea2623264a4246323c551f1b018e163d8ea00c2fed5c4f4ead1c5b9d036cfd6
upload-lib.js.map https://github.com/github/codeql-action/pull/117/files#diff-4860f509f2ff29c051b04b72ffabea4f0eb9eaff65a43777a170f288fd32c851
util.js https://github.com/github/codeql-action/pull/117/files#diff-3fb720f70ea34fb2975fd6c38ac4b6b6131373be2abfa4760dfaae8a25daaee2
util.js.map https://github.com/github/codeql-action/pull/117/files#diff-709978ba6652a9d1f2f2cfb89f74b8743ec9a8aac0470253725ecf2c62a1651e
util.test.js https://github.com/github/codeql-action/pull/117/files#diff-141be3d78540748da20f193d2ef9e73b4db3315fa26088ae9672859887a0edba
util.test.js.map https://github.com/github/codeql-action/pull/117/files#diff-2ec6a6b1036bffea2092b87dabc38530948425542e6bbbea9d1d3be8dd96220a
api-client.ts https://github.com/github/codeql-action/pull/117/files#diff-42ff9f1380ec4f23f68cf329edd327ab3298a662fc2df90bd01da76a69fecf59
autobuild.ts https://github.com/github/codeql-action/pull/117/files#diff-e8e280e07642ac43bae0f81a751fcf1841a78a5a34db8977b4e540690d36ecf5
config-utils.ts https://github.com/github/codeql-action/pull/117/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa
finalize-db.ts https://github.com/github/codeql-action/pull/117/files#diff-8ccda6cc78c0645f45113228ce43bfac9fc341746dbf1680430a20bacc75e0a1
setup-tracer.ts https://github.com/github/codeql-action/pull/117/files#diff-32828111aa07ddc8e64c1ecb5182060aa40f5b9e50804f0245050a997efab618
upload-lib.ts https://github.com/github/codeql-action/pull/117/files#diff-9c600636c759380cf603b7cb23771d1fe5b3cf73df63a71bd566c0cf34fa6b38
util.test.ts https://github.com/github/codeql-action/pull/117/files#diff-5b8db3845646ec2fda6f1a8fb2b5b8c67460b5070568f4be6320f344704969cd
util.ts https://github.com/github/codeql-action/pull/117/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
CONTRIBUTING.mdhttps://github.com/github/codeql-action/pull/117/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
View file https://github.com/aeisenberg/codeql-action/blob/36fef7c0bd7190b166dc41844e5e75838beb80e5/CONTRIBUTING.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/117/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/117/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
https://github.com/github/codeql-action/pull/117/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/api-client.jshttps://github.com/github/codeql-action/pull/117/files#diff-94347f352ede0a83973cdf3b2bd4d1499ea5be7b686fce6fdb34891492941a91
View file https://github.com/aeisenberg/codeql-action/blob/36fef7c0bd7190b166dc41844e5e75838beb80e5/lib/api-client.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/117/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/api-client.js.maphttps://github.com/github/codeql-action/pull/117/files#diff-5db6e95c4e914346af3c523274edfeb6b99180d75ed630fa6a4be778b4e0dcba
View file https://github.com/aeisenberg/codeql-action/blob/36fef7c0bd7190b166dc41844e5e75838beb80e5/lib/api-client.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/117/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/autobuild.jshttps://github.com/github/codeql-action/pull/117/files#diff-d85b7b843f71dd120db4b7f43fc567ca182bf0347b077cd690b7bd650acaa606
View file https://github.com/aeisenberg/codeql-action/blob/36fef7c0bd7190b166dc41844e5e75838beb80e5/lib/autobuild.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/117/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/autobuild.js.maphttps://github.com/github/codeql-action/pull/117/files#diff-7e16048c8a24fdf059ab69ea374066068718dd9756280f09d0f281997e8b8ae9
View file https://github.com/aeisenberg/codeql-action/blob/36fef7c0bd7190b166dc41844e5e75838beb80e5/lib/autobuild.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/117/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/config-utils.jshttps://github.com/github/codeql-action/pull/117/files#diff-94bb9198a667c3d0f4c0d027ac5a72ddd64dd8fce51963646a75b15eea8e65bc
View file https://github.com/aeisenberg/codeql-action/blob/36fef7c0bd7190b166dc41844e5e75838beb80e5/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/117/files
Please reload this pagehttps://github.com/github/codeql-action/pull/117/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.