Skip to content

Commit

Permalink
Give guardians team permissions (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Aug 20, 2024
1 parent 30b6c46 commit 4d69318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ gh api --method PATCH "/repos/${REPO}" -f "allow_merge_commit=false" -f "allow_r

# Update team permissions
gh api --method PUT "/orgs/${ORG}/teams/maintainers-admin/repos/${REPO}" -f "permission=maintain"
gh api --method PUT "/orgs/${ORG}/teams/guardians/repos/${REPO}" -f "permission=push"
gh api --method PUT "/orgs/${ORG}/teams/${SLUG}/repos/${REPO}" -f "permission=push"

# Add repo to deploy secrets
Expand Down

0 comments on commit 4d69318

Please sign in to comment.