| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4b32b37b-26d0-dfd1-7b45-148052b7b690 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD9E:3FEE07:EE0BBD:140EC44:6A54411F |
| html-safe-nonce | bad62883a5e002d2c934222cd7a2873f5d67453888bb03578e6ccc8f6cc29fb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlFOjNGRUUwNzpFRTBCQkQ6MTQwRUM0NDo2QTU0NDExRiIsInZpc2l0b3JfaWQiOiIxODk1OTE1MjczMzg0NjQwNzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 358d3003bd6ad44ca84c8b20e0f8d0b68677a536b080e96190f0407dd1e767be |
| hovercard-subject-tag | pull_request:530256664 |
| github-keyboard-shortcuts | repository,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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/332/files |
| twitter:image | https://avatars.githubusercontent.com/u/14410?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/14410?s=400&v=4 |
| og:image:alt | This PR:
fixes an oversight where branches could also be set to a string
handles wildcard branches, testing if they overlap or not |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql-action/pull/332/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F332%2Ffiles |
| 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%2Fgithub%2Fcodeql-action%2Fpull%2F332%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 |
| Reload | https://github.com/github/codeql-action/pull/332/files |
| Reload | https://github.com/github/codeql-action/pull/332/files |
| Reload | https://github.com/github/codeql-action/pull/332/files |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
|
github
| https://github.com/github |
| codeql-action | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose |
| simon-engledew | https://github.com/simon-engledew |
| main | https://github.com/github/codeql-action/tree/main |
| simon-engledew/string-branches | https://github.com/github/codeql-action/tree/simon-engledew/string-branches |
|
Conversation
13
| https://github.com/github/codeql-action/pull/332 |
|
Findings
| https://github.com/github/codeql-action/pull/332/findings |
|
Commits
15
| https://github.com/github/codeql-action/pull/332/commits |
|
Checks
0
| https://github.com/github/codeql-action/pull/332/checks |
|
Files changed
| https://github.com/github/codeql-action/pull/332/files |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
|
Handle the case where branches may be strings, wildcards
| https://github.com/github/codeql-action/pull/332/files#top |
|
Show all changes
15 commits
| https://github.com/github/codeql-action/pull/332/files |
|
ac1c081
Handle the case where branches may be strings, including "*"
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/ac1c081de895ff6e94b49e4d57d3e243ffa67602 |
|
c8ee1f4
Handle wildcard branches
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/c8ee1f4ef311e9b4a14bdaab96c8a9ed00f50d1b |
|
1471943
Add more test cases
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/14719432ef949a2ae254216ca2037651305a3258 |
|
145a3c1
Add more wildcard examples
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/145a3c1ed9a622a7db5f27a65e3e8952359cb787 |
|
f99af1c
Have a catch all coded error for lint failures
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/f99af1c014f725690f2c5aa3ad349c5e5e7fde0b |
|
b1be00d
Test the branch patterns work both ways
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/b1be00db57562d91089f540cea70c301f50365ad |
|
56b1ead
Do not show lint failed in the UX if it happens
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/56b1ead679faebfa0cf769f08c879ed6acb253d2 |
|
4d86261
First iteration on feedback
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/4d862616ce467d271806d3c689386ba6fb9616a9 |
|
698e2a5
Just convert the pattern into a RegExp...
Dec 1, 2020
| https://github.com/github/codeql-action/pull/332/commits/698e2a5487380139074ccdf3cb3953a47a8c34ac |
|
78b9d23
Remove unecessary if statement
Dec 2, 2020
| https://github.com/github/codeql-action/pull/332/commits/78b9d23d098694e0937a32f9a78da8266577e6a6 |
|
ec8015b
Merge branch 'main' into simon-engledew/string-branches
Dec 2, 2020
| https://github.com/github/codeql-action/pull/332/commits/ec8015bc03bb575406384c75313f12355a274fcb |
|
107fe84
Add advanced test case
Dec 2, 2020
| https://github.com/github/codeql-action/pull/332/commits/107fe8422f6f41da96765110380257cdcfaa0114 |
|
7100f22
Add a bunch of tests cases and harden the function aganst malformed w…
Dec 3, 2020
| https://github.com/github/codeql-action/pull/332/commits/7100f2293270014f6345dc33ed14b70482f33af1 |
|
1dc40ba
Merge remote-tracking branch 'origin/main' into simon-engledew/string…
Dec 4, 2020
| https://github.com/github/codeql-action/pull/332/commits/1dc40ba1654ad2ee7d0acb560d8c86a68b849e26 |
|
18c6a7d
fix another edge case
Dec 4, 2020
| https://github.com/github/codeql-action/pull/332/commits/18c6a7d6d1aeae5683db105a64011887c9186f12 |
|
Clear filters
| https://github.com/github/codeql-action/pull/332/files |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
|
actions-util.js
| https://github.com/github/codeql-action/pull/332/files#diff-11e57a9c0915b5e6f55d41e377c4d3ffff3e8eedb5e9f48814d584bca9fcbac4 |
|
actions-util.js.map
| https://github.com/github/codeql-action/pull/332/files#diff-ccc8ca14fec3e5e01c6b1f61c3fa80dfd5c18e661b6a27f083f98777eabefe05 |
|
actions-util.test.js
| https://github.com/github/codeql-action/pull/332/files#diff-cf8187b09183e5cc6e0b9f93e2c59f424df2dfecda39d1b2f3fdc1115a31d951 |
|
actions-util.test.js.map
| https://github.com/github/codeql-action/pull/332/files#diff-7bad299d4ea8546e7bf44c5827680a633a4546b2183ec953d9f6d832a2be7880 |
|
init-action.js
| https://github.com/github/codeql-action/pull/332/files#diff-bd9b22d62f144e71ae32a07c7c5151e30b31cd76d22303745df64c9886d81342 |
|
init-action.js.map
| https://github.com/github/codeql-action/pull/332/files#diff-5ef0c9fa0ac79e7feadfa9b57bdadeb73adb061144109851651f2aa22197f700 |
|
actions-util.test.ts
| https://github.com/github/codeql-action/pull/332/files#diff-a776af20f7684e62a6a0c9686d6bd1872666b510a10d33bce0e892b4bc7b48e7 |
|
actions-util.ts
| https://github.com/github/codeql-action/pull/332/files#diff-272a83a2815879238f61d8c6a4358a34cf98138946d7e7e950851282d8ca0b7d |
|
init-action.ts
| https://github.com/github/codeql-action/pull/332/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565 |
|
| https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1 |
| lib/actions-util.js | https://github.com/github/codeql-action/pull/332/files#diff-11e57a9c0915b5e6f55d41e377c4d3ffff3e8eedb5e9f48814d584bca9fcbac4 |
|
View file
| https://github.com/github/codeql-action/blob/18c6a7d6d1aeae5683db105a64011887c9186f12/lib/actions-util.js |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
|
| https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1 |
| lib/actions-util.js.map | https://github.com/github/codeql-action/pull/332/files#diff-ccc8ca14fec3e5e01c6b1f61c3fa80dfd5c18e661b6a27f083f98777eabefe05 |
|
View file
| https://github.com/github/codeql-action/blob/18c6a7d6d1aeae5683db105a64011887c9186f12/lib/actions-util.js.map |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
|
| https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1 |
| lib/actions-util.test.js | https://github.com/github/codeql-action/pull/332/files#diff-cf8187b09183e5cc6e0b9f93e2c59f424df2dfecda39d1b2f3fdc1115a31d951 |
|
View file
| https://github.com/github/codeql-action/blob/18c6a7d6d1aeae5683db105a64011887c9186f12/lib/actions-util.test.js |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
| Please reload this page | https://github.com/github/codeql-action/pull/332/files |
|
| 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 |