mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
parent
e053faaab8
commit
2e41bcc947
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
!/usr/bin/env nu
|
||||
#!/usr/bin/env nu
|
||||
let protections = {
|
||||
required_status_checks: {
|
||||
strict: true
|
||||
|
@ -39,4 +39,4 @@ gh api $"orgs/($env.OWNER)/repos"
|
|||
$protections
|
||||
|to json
|
||||
|gh api -X PUT $"repos/($env.OWNER)/($repo.name)/branches/($repo.default_branch)/protection" --input -
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue