Skip to content

Commit b816431

Browse files
Copilotpetesramek
andauthored
fix(lock): set required_approving_review_count to 0 for solo maintainer
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/6bd9c71f-abaa-4e8f-b469-435a52cfff0a Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
1 parent 0b82ee4 commit b816431

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • .github/actions/github/branch-protection/lock

.github/actions/github/branch-protection/lock/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'Lock branch'
22
author: 'Pete Sramek'
3-
description: 'Apply branch protection to prevent direct pushes. Requires PRs with at least one approval.'
3+
description: 'Apply branch protection to prevent direct pushes. Requires PRs but no approvals (solo-maintainer friendly).'
44
inputs:
55
branch:
66
description: 'Branch name to lock.'
@@ -29,7 +29,7 @@ runs:
2929
"required_pull_request_reviews": {
3030
"dismiss_stale_reviews": true,
3131
"require_code_owner_reviews": false,
32-
"required_approving_review_count": 1
32+
"required_approving_review_count": 0
3333
},
3434
"restrictions": null,
3535
"allow_force_pushes": false,

0 commit comments

Comments
 (0)