Can I use "Update branch protection" API to create new protection for some branchs apply branch name pattern #24338
Answered
by
parithiban
k19810703
asked this question in
API and Webhooks
-
Can I use branch name patern in branch feild? Description says it can be branch+ parameter , is there any examples? Parameters |
Beta Was this translation helpful? Give feedback.
Answered by
parithiban
Dec 27, 2020
Replies: 1 comment
-
@k19810703 Welcome to GitHub community 👋 👋 I am not sure you can achieve it using REST V3 API but still it can be done using GraphQL V4. See below for Query Output Before After |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@k19810703 Welcome to GitHub community 👋 👋
I am not sure you can achieve it using REST V3 API but still it can be done using GraphQL V4.
See below for Query
Output
Before
After