René's URL Explorer Experiment


Title: Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it is set. by chrisgavin · Pull Request #298 · github/codeql-action · GitHub

Open Graph Title: Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it is set. by chrisgavin · Pull Request #298 · github/codeql-action

X Title: Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it is set. by chrisgavin · Pull Request #298 · github/codeql-action

Description: Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the name of the Action being used. Unfortunately we can't fully remove the logic where we guess the Action repository name by the path at which it is checked out because users of GHES 2.22 might still need this, but it does mean we can put a final sunset date on the removal of this code once 2.22 reaches end-of-support. I've also added some info-level logging in the hopefully rare case that GITHUB_ACTION_REPOSITORY is not set in order to help debug any issues caused by the guessing logic. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.

Open Graph Description: Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the ...

X Description: Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e4bfb295-baf4-b2c5-5395-e55012ae5543
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9250:6E56C:2B2A804:3AAFD50:6A548D08
html-safe-noncef2d72f85696c649a23be0ff8b8e0588c94fc26511ae2a85fec8ea38f7382589e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjUwOjZFNTZDOjJCMkE4MDQ6M0FBRkQ1MDo2QTU0OEQwOCIsInZpc2l0b3JfaWQiOiIxOTI1NjA0NzM3MzI5NDMzODY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacebf43d41e14c288f306c8563f0c8f6d5570611b7a3e861076832752bc1a4f00a
hovercard-subject-tagpull_request:518463943
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/298/files
twitter:imagehttps://avatars.githubusercontent.com/u/5584439?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5584439?s=400&v=4
og:image:altNow that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the ...
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
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/298/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F298%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%2F298%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/298/files
Reloadhttps://github.com/github/codeql-action/pull/298/files
Reloadhttps://github.com/github/codeql-action/pull/298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/298/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
chrisgavinhttps://github.com/chrisgavin
mainhttps://github.com/github/codeql-action/tree/main
use-github-action-repository-variablehttps://github.com/github/codeql-action/tree/use-github-action-repository-variable
Conversation 1 https://github.com/github/codeql-action/pull/298
Findings https://github.com/github/codeql-action/pull/298/findings
Commits 2 https://github.com/github/codeql-action/pull/298/commits
Checks 0 https://github.com/github/codeql-action/pull/298/checks
Files changed https://github.com/github/codeql-action/pull/298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/298/files
Make use of the GITHUB_ACTION_REPOSITORY environment variable if it is set. https://github.com/github/codeql-action/pull/298/files#top
Show all changes 2 commits https://github.com/github/codeql-action/pull/298/files
bf30ea6 Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it… chrisgavin Nov 10, 2020 https://github.com/github/codeql-action/pull/298/commits/bf30ea69d6c31014c89d39e65c341fbeaa2a2d7b
241fca8 Merge branch 'main' into use-github-action-repository-variable chrisgavin Nov 10, 2020 https://github.com/github/codeql-action/pull/298/commits/241fca876bc1a6fe2bf91417855e0d96961cb4c2
Clear filters https://github.com/github/codeql-action/pull/298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/298/files
codeql.js https://github.com/github/codeql-action/pull/298/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
codeql.js.map https://github.com/github/codeql-action/pull/298/files#diff-325a6cb428a1dafbcfbd43461aa4ae95826c648a3f9a7d7b6e6bf05878152d64
codeql.ts https://github.com/github/codeql-action/pull/298/files#diff-473ad8cf33ad034dc4f9ae468a3ce5d87106ace4f96f6a23a000261d46efaa60
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/codeql.jshttps://github.com/github/codeql-action/pull/298/files#diff-5bd808ec74194675da6319beb80c228163039f26c9ddf1b8bf3eef9b12c9341b
View file https://github.com/github/codeql-action/blob/241fca876bc1a6fe2bf91417855e0d96961cb4c2/lib/codeql.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/298/files
Please reload this pagehttps://github.com/github/codeql-action/pull/298/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.