René's URL Explorer Experiment


Title: Make inputs consistent between action and runner by robertbrignull · Pull Request #211 · github/codeql-action · GitHub

Open Graph Title: Make inputs consistent between action and runner by robertbrignull · Pull Request #211 · github/codeql-action

X Title: Make inputs consistent between action and runner by robertbrignull · Pull Request #211 · github/codeql-action

Description: This is partially an alternative PR to #208 but I thought I'd open it anyway. This PR also goes further by: Creates actions-util.ts that allows us to place higher standards on util.ts to work on actions and the runner and makes it easier to see the division of what code runs where. Adding a CodeQL query to detect use of core.input and point to the correct custom function. An extra CodeQL query that detects inconsistent definitions of inputs between actions. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.

Open Graph Description: This is partially an alternative PR to #208 but I thought I'd open it anyway. This PR also goes further by: Creates actions-util.ts that allows us to place higher standards on util.ts to work ...

X Description: This is partially an alternative PR to #208 but I thought I'd open it anyway. This PR also goes further by: Creates actions-util.ts that allows us to place higher standards on util.ts to w...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fde84623-1ab0-36b4-3ffe-a809ab16648f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD37A:D284D:C47A3C:11D3E2E:6A54BAA9
html-safe-nonce0fd0ab60249275a1e00c087cea8be8a5961cf8fcc4ff594fda7c9a70a5ebb944
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzdBOkQyODREOkM0N0EzQzoxMUQzRTJFOjZBNTRCQUE5IiwidmlzaXRvcl9pZCI6IjE3MjQ5MDQyNzQyNTE3OTEwMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc9576a10eb0ff1abf9dd843bf8feb7b03149f793bc5580b93445fb9e6cf817d9
hovercard-subject-tagpull_request:487455599
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/211/files
twitter:imagehttps://avatars.githubusercontent.com/u/3749000?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3749000?s=400&v=4
og:image:altThis is partially an alternative PR to #208 but I thought I'd open it anyway. This PR also goes further by: Creates actions-util.ts that allows us to place higher standards on util.ts to work ...
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
release69f9664dd5e7a82ba8ab1b4cb7f5a2f09333ab38
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/211/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F211%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%2F211%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/211/files
Reloadhttps://github.com/github/codeql-action/pull/211/files
Reloadhttps://github.com/github/codeql-action/pull/211/files
Please reload this pagehttps://github.com/github/codeql-action/pull/211/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
robertbrignullhttps://github.com/robertbrignull
mainhttps://github.com/github/codeql-action/tree/main
robertbrignull/consistent_inputshttps://github.com/github/codeql-action/tree/robertbrignull/consistent_inputs
Conversation 15 https://github.com/github/codeql-action/pull/211
Findings https://github.com/github/codeql-action/pull/211/findings
Commits 7 https://github.com/github/codeql-action/pull/211/commits
Checks 0 https://github.com/github/codeql-action/pull/211/checks
Files changed https://github.com/github/codeql-action/pull/211/files
Please reload this pagehttps://github.com/github/codeql-action/pull/211/files
Make inputs consistent between action and runner https://github.com/github/codeql-action/pull/211/files#top
Show all changes 7 commits https://github.com/github/codeql-action/pull/211/files
121fd33 Introduce actions-util.ts robertbrignull Sep 15, 2020 https://github.com/github/codeql-action/pull/211/commits/121fd331cddcbbe2476947ae3fdd65e2446d5354
d88fa5c Add queries robertbrignull Sep 15, 2020 https://github.com/github/codeql-action/pull/211/commits/d88fa5cef67ba2765053070817e78274fdb4dbf9
c1cee53 Add getOptionalInput and getRequiredInput robertbrignull Sep 15, 2020 https://github.com/github/codeql-action/pull/211/commits/c1cee53da5a5f92c486cbfe34cc4d6d41af24421
7be1a41 Merge branch 'main' into robertbrignull/consistent_inputs robertbrignull Sep 16, 2020 https://github.com/github/codeql-action/pull/211/commits/7be1a410c27c9e9f911b028c12d0f82a4f05b4f9
4c4114f add an extra getRequiredInput robertbrignull Sep 16, 2020 https://github.com/github/codeql-action/pull/211/commits/4c4114f2d87dccf9bc28fd3d45d693293a4e0543
090a701 add explanation to query robertbrignull Sep 16, 2020 https://github.com/github/codeql-action/pull/211/commits/090a7013dd2d1efd95a086ca2a775011fca37536
4b4f9e8 Merge branch 'main' into robertbrignull/consistent_inputs robertbrignull Sep 17, 2020 https://github.com/github/codeql-action/pull/211/commits/4b4f9e8e6a9064a361f0de00d132b697771b3cdd
Clear filters https://github.com/github/codeql-action/pull/211/files
Please reload this pagehttps://github.com/github/codeql-action/pull/211/files
Please reload this pagehttps://github.com/github/codeql-action/pull/211/files
actions-util.js https://github.com/github/codeql-action/pull/211/files#diff-11e57a9c0915b5e6f55d41e377c4d3ffff3e8eedb5e9f48814d584bca9fcbac4
actions-util.js.map https://github.com/github/codeql-action/pull/211/files#diff-ccc8ca14fec3e5e01c6b1f61c3fa80dfd5c18e661b6a27f083f98777eabefe05
actions-util.test.js https://github.com/github/codeql-action/pull/211/files#diff-cf8187b09183e5cc6e0b9f93e2c59f424df2dfecda39d1b2f3fdc1115a31d951
actions-util.test.js.map https://github.com/github/codeql-action/pull/211/files#diff-7bad299d4ea8546e7bf44c5827680a633a4546b2183ec953d9f6d832a2be7880
analyze-action.js https://github.com/github/codeql-action/pull/211/files#diff-4926d6bcb92a4de805ceb8d280f31c24cffa2445b3a36cc658e5032a0910ed15
analyze-action.js.map https://github.com/github/codeql-action/pull/211/files#diff-bf22fdf4a2955a82f610cba9e999765d28a3da4f592c5511f2b731a1822fe648
api-client.js https://github.com/github/codeql-action/pull/211/files#diff-94347f352ede0a83973cdf3b2bd4d1499ea5be7b686fce6fdb34891492941a91
api-client.js.map https://github.com/github/codeql-action/pull/211/files#diff-5db6e95c4e914346af3c523274edfeb6b99180d75ed630fa6a4be778b4e0dcba
autobuild-action.js https://github.com/github/codeql-action/pull/211/files#diff-850bbbd46e929f29c34c186fb38aebfc228803ab6191e6a668027042620c4f30
autobuild-action.js.map https://github.com/github/codeql-action/pull/211/files#diff-8afb942cb6074c4d12fc80c76f654a950898a9bcf66cc0ef4ee6f01a9df952ec
codeql.js https://github.com/github/codeql-action/pull/211/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
codeql.js.map https://github.com/github/codeql-action/pull/211/files#diff-325a6cb428a1dafbcfbd43461aa4ae95826c648a3f9a7d7b6e6bf05878152d64
init-action.js https://github.com/github/codeql-action/pull/211/files#diff-bd9b22d62f144e71ae32a07c7c5151e30b31cd76d22303745df64c9886d81342
init-action.js.map https://github.com/github/codeql-action/pull/211/files#diff-5ef0c9fa0ac79e7feadfa9b57bdadeb73adb061144109851651f2aa22197f700
upload-sarif-action.js https://github.com/github/codeql-action/pull/211/files#diff-5d3767541163ba07f1a1928ef585f505845a68d6a46a26fb68fa41e19786111b
upload-sarif-action.js.map https://github.com/github/codeql-action/pull/211/files#diff-040d2fc3b9cb9096ae7e926bb7edb1d4ae0e9947ce5961f468a8a2e66468a3e7
util.js https://github.com/github/codeql-action/pull/211/files#diff-3fb720f70ea34fb2975fd6c38ac4b6b6131373be2abfa4760dfaae8a25daaee2
util.js.map https://github.com/github/codeql-action/pull/211/files#diff-709978ba6652a9d1f2f2cfb89f74b8743ec9a8aac0470253725ecf2c62a1651e
util.test.js https://github.com/github/codeql-action/pull/211/files#diff-141be3d78540748da20f193d2ef9e73b4db3315fa26088ae9672859887a0edba
util.test.js.map https://github.com/github/codeql-action/pull/211/files#diff-2ec6a6b1036bffea2092b87dabc38530948425542e6bbbea9d1d3be8dd96220a
inconsistent-action-input.ql https://github.com/github/codeql-action/pull/211/files#diff-40a6f704346079567cad8b3740f6132c50af754fb41677e003d0b4e76e2723d8
required-action-input.ql https://github.com/github/codeql-action/pull/211/files#diff-e0b3e45dde6fa2894848def07ead0137d5bca403023181d7858de2c2926900eb
actions-util.test.ts https://github.com/github/codeql-action/pull/211/files#diff-a776af20f7684e62a6a0c9686d6bd1872666b510a10d33bce0e892b4bc7b48e7
actions-util.ts https://github.com/github/codeql-action/pull/211/files#diff-272a83a2815879238f61d8c6a4358a34cf98138946d7e7e950851282d8ca0b7d
analyze-action.ts https://github.com/github/codeql-action/pull/211/files#diff-c659460f1608e167fc5bef89e07b4c7db2d8cdf80e542ec788c969a6ed987d34
api-client.ts https://github.com/github/codeql-action/pull/211/files#diff-42ff9f1380ec4f23f68cf329edd327ab3298a662fc2df90bd01da76a69fecf59
autobuild-action.ts https://github.com/github/codeql-action/pull/211/files#diff-254fd800d1e1d579654d4dabbfda44d5c2883599ef6f7aa986d90bac1fbfe104
codeql.ts https://github.com/github/codeql-action/pull/211/files#diff-473ad8cf33ad034dc4f9ae468a3ce5d87106ace4f96f6a23a000261d46efaa60
init-action.ts https://github.com/github/codeql-action/pull/211/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565
upload-sarif-action.ts https://github.com/github/codeql-action/pull/211/files#diff-8f3f1d0ae3f1ff6da6f40febfbdbdb1ee0a734bcd42dee83d7d5909a2b712aed
util.test.ts https://github.com/github/codeql-action/pull/211/files#diff-5b8db3845646ec2fda6f1a8fb2b5b8c67460b5070568f4be6320f344704969cd
util.ts https://github.com/github/codeql-action/pull/211/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/actions-util.jshttps://github.com/github/codeql-action/pull/211/files#diff-11e57a9c0915b5e6f55d41e377c4d3ffff3e8eedb5e9f48814d584bca9fcbac4
View file https://github.com/github/codeql-action/blob/4b4f9e8e6a9064a361f0de00d132b697771b3cdd/lib/actions-util.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/211/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/actions-util.js.maphttps://github.com/github/codeql-action/pull/211/files#diff-ccc8ca14fec3e5e01c6b1f61c3fa80dfd5c18e661b6a27f083f98777eabefe05
View file https://github.com/github/codeql-action/blob/4b4f9e8e6a9064a361f0de00d132b697771b3cdd/lib/actions-util.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/211/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/actions-util.test.jshttps://github.com/github/codeql-action/pull/211/files#diff-cf8187b09183e5cc6e0b9f93e2c59f424df2dfecda39d1b2f3fdc1115a31d951
View file https://github.com/github/codeql-action/blob/4b4f9e8e6a9064a361f0de00d132b697771b3cdd/lib/actions-util.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/211/files
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/actions-util.test.js.maphttps://github.com/github/codeql-action/pull/211/files#diff-7bad299d4ea8546e7bf44c5827680a633a4546b2183ec953d9f6d832a2be7880
View file https://github.com/github/codeql-action/blob/4b4f9e8e6a9064a361f0de00d132b697771b3cdd/lib/actions-util.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/211/files
Please reload this pagehttps://github.com/github/codeql-action/pull/211/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.