René's URL Explorer Experiment


Title: Expose remote branch ref as an environment variable by surafelabebe · Pull Request #1743 · pre-commit/pre-commit · GitHub

Open Graph Title: Expose remote branch ref as an environment variable by surafelabebe · Pull Request #1743 · pre-commit/pre-commit

X Title: Expose remote branch ref as an environment variable by surafelabebe · Pull Request #1743 · pre-commit/pre-commit

Description: A framework for managing and maintaining multi-language pre-commit hooks. - Expose remote branch ref as an environment variable by surafelabebe · Pull Request #1743 · pre-commit/pre-commit

Open Graph Description: The remote branch reference was exposed as an environment variable to be consumed by a pre-push hook, which makes git push decisions to remote branches with a certain name pattern.

X Description: The remote branch reference was exposed as an environment variable to be consumed by a pre-push hook, which makes git push decisions to remote branches with a certain name pattern.

Opengraph URL: https://github.com/pre-commit/pre-commit/pull/1743

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:08fdc09c-d55e-86dc-114d-ce84ad6a0c11
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF1E:74FB1:FBAFE0:159579E:6A55CB58
html-safe-noncea78481d36ae89466b7c84bed06adcc9ddb311245e53c3c0363b2451d2e362593
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjFFOjc0RkIxOkZCQUZFMDoxNTk1NzlFOjZBNTVDQjU4IiwidmlzaXRvcl9pZCI6IjgyODU2MDE3MTA5Mjk3MjYyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaa66e5018bd4298e2a9a0089f7f0366c8e831c511a41f043d8239a51e59b0b2b
hovercard-subject-tagpull_request:543778265
github-keyboard-shortcutsrepository,commits,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/pre-commit/pre-commit/1743/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7eae3551a390486f3c73ad927bc56ff7ff4504c5ec93bd7ea982193aa83d6d44/pre-commit/pre-commit/pull/1743
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7eae3551a390486f3c73ad927bc56ff7ff4504c5ec93bd7ea982193aa83d6d44/pre-commit/pre-commit/pull/1743
og:image:altThe remote branch reference was exposed as an environment variable to be consumed by a pre-push hook, which makes git push decisions to remote branches with a certain name pattern.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesurafelabebe
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-cache
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
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
release8f8e1726192df8dce16872ceb503336c12e9ae78
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/pull/1743#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F1743
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%2Fpre-commit%2Fpre-commit%2Fpull%2F1743
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=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/pull/1743
Reloadhttps://github.com/pre-commit/pre-commit/pull/1743
Reloadhttps://github.com/pre-commit/pre-commit/pull/1743
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 986 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15.4k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 22 https://github.com/pre-commit/pre-commit/issues
Pull requests 13 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
surafelabebehttps://github.com/surafelabebe
pre-commit:masterhttps://github.com/pre-commit/pre-commit/tree/master
clumio-oss:remote_branch_refhttps://github.com/clumio-oss/pre-commit/tree/remote_branch_ref
Conversationhttps://github.com/pre-commit/pre-commit/pull/1743
Commits5 (5)https://github.com/pre-commit/pre-commit/pull/1743/commits
Checkshttps://github.com/pre-commit/pre-commit/pull/1743/checks
Files changedhttps://github.com/pre-commit/pre-commit/pull/1743/files
Expose remote branch ref as an environment variablehttps://github.com/pre-commit/pre-commit/pull/1743#top
surafelabebehttps://github.com/surafelabebe
pre-commit:masterhttps://github.com/pre-commit/pre-commit/tree/master
clumio-oss:remote_branch_refhttps://github.com/clumio-oss/pre-commit/tree/remote_branch_ref
https://github.com/surafelabebe
surafelabebehttps://github.com/surafelabebe
Dec 21, 2020https://github.com/pre-commit/pre-commit/pull/1743#issue-772527892
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
December 21, 2020 15:21https://github.com/pre-commit/pre-commit/pull/1743#commits-pushed-945549a
The remote branch reference was exposed as an environment variable fo…https://github.com/pre-commit/pre-commit/pull/1743/commits/945549acbcff41982de37cfe6d807152be37adc0
945549ahttps://github.com/pre-commit/pre-commit/pull/1743/commits/945549acbcff41982de37cfe6d807152be37adc0
added remote-branch as args parser argumenthttps://github.com/pre-commit/pre-commit/pull/1743/commits/dbd75ca7b2aefd16ef00cc84e69df29ed35a9317
dbd75cahttps://github.com/pre-commit/pre-commit/pull/1743/commits/dbd75ca7b2aefd16ef00cc84e69df29ed35a9317
added remote_branch parameter in one of the testshttps://github.com/pre-commit/pre-commit/pull/1743/commits/69430751abf6e407f5a936a5ce700383d5d93a65
6943075https://github.com/pre-commit/pre-commit/pull/1743/commits/69430751abf6e407f5a936a5ce700383d5d93a65
testhttps://github.com/pre-commit/pre-commit/pull/1743/commits/d62ac205180bba6b89ce73f1696666f88e8b4690
d62ac20https://github.com/pre-commit/pre-commit/pull/1743/commits/d62ac205180bba6b89ce73f1696666f88e8b4690
https://github.com/asottile
asottilehttps://github.com/asottile
Jan 14, 2021 https://github.com/pre-commit/pre-commit/pull/1743#pullrequestreview-568003239
View reviewed changes https://github.com/pre-commit/pre-commit/pull/1743/files/69430751abf6e407f5a936a5ce700383d5d93a65
asottilehttps://github.com/asottile
https://github.com/pre-commit/pre-commit/pull/1743#pullrequestreview-568003239
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
pre_commit/commands/run.pyhttps://github.com/pre-commit/pre-commit/pull/1743/files/69430751abf6e407f5a936a5ce700383d5d93a65#diff-94a8d858af77f7e9a4784c7befe9630e10e9396bb96d2470a2314e8513c95885
asottilehttps://github.com/asottile
Jan 14, 2021https://github.com/pre-commit/pre-commit/pull/1743#discussion_r557180791
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
surafelabebehttps://github.com/surafelabebe
Jan 21, 2021https://github.com/pre-commit/pre-commit/pull/1743#discussion_r561620746
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
https://github.com/surafelabebe
surafelabebehttps://github.com/surafelabebe
Jan 22, 2021https://github.com/pre-commit/pre-commit/pull/1743#event-4236440889
https://github.com/surafelabebe
surafelabebehttps://github.com/surafelabebe
force-pushedhttps://github.com/pre-commit/pre-commit/compare/fff9875e388868dc0d0bd06a7e8b29892eca3659..d62ac205180bba6b89ce73f1696666f88e8b4690
fff9875https://github.com/pre-commit/pre-commit/commit/fff9875e388868dc0d0bd06a7e8b29892eca3659
d62ac20https://github.com/pre-commit/pre-commit/commit/d62ac205180bba6b89ce73f1696666f88e8b4690
Compare https://github.com/pre-commit/pre-commit/compare/fff9875e388868dc0d0bd06a7e8b29892eca3659..d62ac205180bba6b89ce73f1696666f88e8b4690
January 22, 2021 06:12https://github.com/pre-commit/pre-commit/pull/1743#event-4236979359
moved the remote branch env variable to the block below it.https://github.com/pre-commit/pre-commit/pull/1743/commits/aab18e46c64ca647f5f424b2eefd0834737760d9
aab18e4https://github.com/pre-commit/pre-commit/pull/1743/commits/aab18e46c64ca647f5f424b2eefd0834737760d9
https://github.com/asottile
asottilehttps://github.com/asottile
Jan 22, 2021 https://github.com/pre-commit/pre-commit/pull/1743#pullrequestreview-574618229
View reviewed changes https://github.com/pre-commit/pre-commit/pull/1743/files/aab18e46c64ca647f5f424b2eefd0834737760d9
asottilehttps://github.com/asottile
https://github.com/pre-commit/pre-commit/pull/1743#pullrequestreview-574618229
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/f226501df596042c3d9ea46b673043f5d6a4efd10dd393224b243621458b2443/68747470733a2f2f692e666c756666792e63632f32374d48517047564866387a734271783936677854355042356d53316a746a442e676966
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
https://github.com/asottile
asottilehttps://github.com/asottile
Jan 22, 2021https://github.com/pre-commit/pre-commit/pull/1743#issuecomment-765688800
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
https://github.com/asottile
asottilehttps://github.com/asottile
Jan 22, 2021https://github.com/pre-commit/pre-commit/pull/1743#event-4240436191
https://github.com/asottile
asottilehttps://github.com/asottile
Jan 22, 2021 https://github.com/pre-commit/pre-commit/pull/1743#ref-pullrequest-792312851
Expose remote branch ref as an environment variable #1770 https://github.com/pre-commit/pre-commit/pull/1770
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/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%2Fpre-commit%2Fpre-commit%2Fpull%2F1743
https://github.com/asottile
asottile https://github.com/asottile
https://github.com/pre-commit/pre-commit/pull/1743/files/aab18e46c64ca647f5f424b2eefd0834737760d9
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1743
https://github.com/surafelabebe
https://github.com/asottile
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.