Skip to content

Commit

Permalink
Adding latest url for branch protection docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gm3dmo committed Nov 2, 2023
1 parent ed41edd commit 7bc93af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-branch-protection.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
. ./.gh-api-examples.conf

# https://docs.github.com/en/rest/reference/branches#get-branch-protection
# https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#get-branch-protection
# GET /repos/{owner}/{repo}/branches/{branch}/protection

branch=${base_branch}
Expand Down

0 comments on commit 7bc93af

Please sign in to comment.