8ce0c4cd51
Signed-off-by: Adam Letizia <LetiziaAdam@JohnDeere.com>
623 B
623 B
@backstage/plugin-scaffolder-backend-module-github
| @backstage/plugin-scaffolder-backend-module-github |
|---|
| patch |
Add github:branch-protection:create scaffolder action to set branch protection on an existing repository. Example usage:
- id: set-branch-protection
name: Set Branch Protection
action: github:branch-protection:create
input:
repoUrl: 'github.com?repo=backstage&owner=backstage'
branch: master
enforceAdmins: true # default
requiredApprovingReviewCount: 1 # default
requireBranchesToBeUpToDate: true # default
requireCodeOwnerReviews: true
dismissStaleReviews: true
requiredConversationResolution: true