| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:08fdc09c-d55e-86dc-114d-ce84ad6a0c11 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF1E:74FB1:FBAFE0:159579E:6A55CB58 |
| html-safe-nonce | a78481d36ae89466b7c84bed06adcc9ddb311245e53c3c0363b2451d2e362593 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjFFOjc0RkIxOkZCQUZFMDoxNTk1NzlFOjZBNTVDQjU4IiwidmlzaXRvcl9pZCI6IjgyODU2MDE3MTA5Mjk3MjYyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aa66e5018bd4298e2a9a0089f7f0366c8e831c511a41f043d8239a51e59b0b2b |
| hovercard-subject-tag | pull_request:543778265 |
| github-keyboard-shortcuts | repository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pre-commit/pre-commit/1743/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7eae3551a390486f3c73ad927bc56ff7ff4504c5ec93bd7ea982193aa83d6d44/pre-commit/pre-commit/pull/1743 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7eae3551a390486f3c73ad927bc56ff7ff4504c5ec93bd7ea982193aa83d6d44/pre-commit/pre-commit/pull/1743 |
| og:image:alt | 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. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | surafelabebe |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-cache |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/pre-commit/pre-commit/pull/1743 |
| Reload | https://github.com/pre-commit/pre-commit/pull/1743 |
| Reload | https://github.com/pre-commit/pre-commit/pull/1743 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
|
pre-commit
| https://github.com/pre-commit |
| pre-commit | https://github.com/pre-commit/pre-commit |
| Please reload this page | https://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 |
| surafelabebe | https://github.com/surafelabebe |
| pre-commit:master | https://github.com/pre-commit/pre-commit/tree/master |
| clumio-oss:remote_branch_ref | https://github.com/clumio-oss/pre-commit/tree/remote_branch_ref |
| Conversation | https://github.com/pre-commit/pre-commit/pull/1743 |
| Commits5 (5) | https://github.com/pre-commit/pre-commit/pull/1743/commits |
| Checks | https://github.com/pre-commit/pre-commit/pull/1743/checks |
| Files changed | https://github.com/pre-commit/pre-commit/pull/1743/files |
| Expose remote branch ref as an environment variable | https://github.com/pre-commit/pre-commit/pull/1743#top |
| surafelabebe | https://github.com/surafelabebe |
| pre-commit:master | https://github.com/pre-commit/pre-commit/tree/master |
| clumio-oss:remote_branch_ref | https://github.com/clumio-oss/pre-commit/tree/remote_branch_ref |
|
| https://github.com/surafelabebe |
| surafelabebe | https://github.com/surafelabebe |
| Dec 21, 2020 | https://github.com/pre-commit/pre-commit/pull/1743#issue-772527892 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| December 21, 2020 15:21 | https://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 |
| 945549a | https://github.com/pre-commit/pre-commit/pull/1743/commits/945549acbcff41982de37cfe6d807152be37adc0 |
| added remote-branch as args parser argument | https://github.com/pre-commit/pre-commit/pull/1743/commits/dbd75ca7b2aefd16ef00cc84e69df29ed35a9317 |
| dbd75ca | https://github.com/pre-commit/pre-commit/pull/1743/commits/dbd75ca7b2aefd16ef00cc84e69df29ed35a9317 |
| added remote_branch parameter in one of the tests | https://github.com/pre-commit/pre-commit/pull/1743/commits/69430751abf6e407f5a936a5ce700383d5d93a65 |
| 6943075 | https://github.com/pre-commit/pre-commit/pull/1743/commits/69430751abf6e407f5a936a5ce700383d5d93a65 |
| test | https://github.com/pre-commit/pre-commit/pull/1743/commits/d62ac205180bba6b89ce73f1696666f88e8b4690 |
| d62ac20 | https://github.com/pre-commit/pre-commit/pull/1743/commits/d62ac205180bba6b89ce73f1696666f88e8b4690 |
| https://github.com/asottile |
| asottile | https://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 |
| asottile | https://github.com/asottile |
| https://github.com/pre-commit/pre-commit/pull/1743#pullrequestreview-568003239 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| pre_commit/commands/run.py | https://github.com/pre-commit/pre-commit/pull/1743/files/69430751abf6e407f5a936a5ce700383d5d93a65#diff-94a8d858af77f7e9a4784c7befe9630e10e9396bb96d2470a2314e8513c95885 |
| asottile | https://github.com/asottile |
| Jan 14, 2021 | https://github.com/pre-commit/pre-commit/pull/1743#discussion_r557180791 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| surafelabebe | https://github.com/surafelabebe |
| Jan 21, 2021 | https://github.com/pre-commit/pre-commit/pull/1743#discussion_r561620746 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| https://github.com/surafelabebe |
| surafelabebe | https://github.com/surafelabebe |
| Jan 22, 2021 | https://github.com/pre-commit/pre-commit/pull/1743#event-4236440889 |
| https://github.com/surafelabebe |
| surafelabebe | https://github.com/surafelabebe |
| force-pushed | https://github.com/pre-commit/pre-commit/compare/fff9875e388868dc0d0bd06a7e8b29892eca3659..d62ac205180bba6b89ce73f1696666f88e8b4690 |
| fff9875 | https://github.com/pre-commit/pre-commit/commit/fff9875e388868dc0d0bd06a7e8b29892eca3659 |
| d62ac20 | https://github.com/pre-commit/pre-commit/commit/d62ac205180bba6b89ce73f1696666f88e8b4690 |
|
Compare
| https://github.com/pre-commit/pre-commit/compare/fff9875e388868dc0d0bd06a7e8b29892eca3659..d62ac205180bba6b89ce73f1696666f88e8b4690 |
| January 22, 2021 06:12 | https://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 |
| aab18e4 | https://github.com/pre-commit/pre-commit/pull/1743/commits/aab18e46c64ca647f5f424b2eefd0834737760d9 |
| https://github.com/asottile |
| asottile | https://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 |
| asottile | https://github.com/asottile |
| https://github.com/pre-commit/pre-commit/pull/1743#pullrequestreview-574618229 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/f226501df596042c3d9ea46b673043f5d6a4efd10dd393224b243621458b2443/68747470733a2f2f692e666c756666792e63632f32374d48517047564866387a734271783936677854355042356d53316a746a442e676966 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| Jan 22, 2021 | https://github.com/pre-commit/pre-commit/pull/1743#issuecomment-765688800 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1743 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| Jan 22, 2021 | https://github.com/pre-commit/pre-commit/pull/1743#event-4240436191 |
| https://github.com/asottile |
| asottile | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/pre-commit/pre-commit/pull/1743 |
|
| https://github.com/surafelabebe |
|
| https://github.com/asottile |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |