Skip to content

Commit

Permalink
remove OWNER env
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuk committed Aug 23, 2022
1 parent a463e98 commit 491d96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/github-branch-protection.bash
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function get_current_branch_protection_setting() {
}

function apply_branch_protection_setting() {
gh api --method PUT -H "Accept: application/vnd.github+json" --input - repos//${REPO}/branches/${BRANCH}/protection
gh api --method PUT -H "Accept: application/vnd.github+json" --input - repos/${REPO}/branches/${BRANCH}/protection
}

function enforce_admins_off() {
Expand Down

0 comments on commit 491d96c

Please sign in to comment.