@@ -191,6 +191,32 @@ branches:
191
191
apps: []
192
192
users: []
193
193
teams: [ "cli-team" ]
194
+ - name: latest
195
+ protection:
196
+ required_status_checks: null
197
+ enforce_admins: true
198
+ required_pull_request_reviews:
199
+ required_approving_review_count: 1
200
+ require_code_owner_reviews: true
201
+ require_last_push_approval: true
202
+ dismiss_stale_reviews: true
203
+ restrictions:
204
+ apps: []
205
+ users: []
206
+ teams: [ "cli-team" ]
207
+ - name: release/v*
208
+ protection:
209
+ required_status_checks: null
210
+ enforce_admins: true
211
+ required_pull_request_reviews:
212
+ required_approving_review_count: 1
213
+ require_code_owner_reviews: true
214
+ require_last_push_approval: true
215
+ dismiss_stale_reviews: true
216
+ restrictions:
217
+ apps: []
218
+ users: []
219
+ teams: [ "cli-team" ]
194
220
195
221
.github/workflows/audit.yml
196
222
========================================
@@ -866,7 +892,7 @@ jobs:
866
892
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
867
893
868
894
body += \`Release workflow run: \${workflow.html_url}/n/n#### Force CI to Update This Release/n/n\`
869
- body += \`This PR will be updated and CI will run for every non-/\`chore:/\` commit that is pushed to /\`main /\`. \`
895
+ body += \`This PR will be updated and CI will run for every non-/\`chore:/\` commit that is pushed to /\`\${REF_NAME} /\`. \`
870
896
body += \`To force CI to update this PR, run this command:/n/n\`
871
897
body += \`/\`/\`/\`/ngh workflow run release.yml -r \${REF_NAME} -R \${owner}/\${repo} -f release-pr=\${issue_number}/n/\`/\`/\`\`
872
898
@@ -1630,6 +1656,32 @@ branches:
1630
1656
apps: []
1631
1657
users: []
1632
1658
teams: [ "cli-team" ]
1659
+ - name: latest
1660
+ protection:
1661
+ required_status_checks: null
1662
+ enforce_admins: true
1663
+ required_pull_request_reviews:
1664
+ required_approving_review_count: 1
1665
+ require_code_owner_reviews: true
1666
+ require_last_push_approval: true
1667
+ dismiss_stale_reviews: true
1668
+ restrictions:
1669
+ apps: []
1670
+ users: []
1671
+ teams: [ "cli-team" ]
1672
+ - name: release/v*
1673
+ protection:
1674
+ required_status_checks: null
1675
+ enforce_admins: true
1676
+ required_pull_request_reviews:
1677
+ required_approving_review_count: 1
1678
+ require_code_owner_reviews: true
1679
+ require_last_push_approval: true
1680
+ dismiss_stale_reviews: true
1681
+ restrictions:
1682
+ apps: []
1683
+ users: []
1684
+ teams: [ "cli-team" ]
1633
1685
1634
1686
.github/workflows/audit.yml
1635
1687
========================================
@@ -2541,7 +2593,7 @@ jobs:
2541
2593
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
2542
2594
2543
2595
body += \`Release workflow run: \${workflow.html_url}/n/n#### Force CI to Update This Release/n/n\`
2544
- body += \`This PR will be updated and CI will run for every non-/\`chore:/\` commit that is pushed to /\`main /\`. \`
2596
+ body += \`This PR will be updated and CI will run for every non-/\`chore:/\` commit that is pushed to /\`\${REF_NAME} /\`. \`
2545
2597
body += \`To force CI to update this PR, run this command:/n/n\`
2546
2598
body += \`/\`/\`/\`/ngh workflow run release.yml -r \${REF_NAME} -R \${owner}/\${repo} -f release-pr=\${issue_number}/n/\`/\`/\`\`
2547
2599
@@ -3347,6 +3399,32 @@ branches:
3347
3399
apps: []
3348
3400
users: []
3349
3401
teams: [ "cli-team" ]
3402
+ - name: latest
3403
+ protection:
3404
+ required_status_checks: null
3405
+ enforce_admins: true
3406
+ required_pull_request_reviews:
3407
+ required_approving_review_count: 1
3408
+ require_code_owner_reviews: true
3409
+ require_last_push_approval: true
3410
+ dismiss_stale_reviews: true
3411
+ restrictions:
3412
+ apps: []
3413
+ users: []
3414
+ teams: [ "cli-team" ]
3415
+ - name: release/v*
3416
+ protection:
3417
+ required_status_checks: null
3418
+ enforce_admins: true
3419
+ required_pull_request_reviews:
3420
+ required_approving_review_count: 1
3421
+ require_code_owner_reviews: true
3422
+ require_last_push_approval: true
3423
+ dismiss_stale_reviews: true
3424
+ restrictions:
3425
+ apps: []
3426
+ users: []
3427
+ teams: [ "cli-team" ]
3350
3428
3351
3429
.github/workflows/ci-a.yml
3352
3430
========================================
@@ -4056,7 +4134,7 @@ jobs:
4056
4134
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
4057
4135
4058
4136
body += \`Release workflow run: \${workflow.html_url}/n/n#### Force CI to Update This Release/n/n\`
4059
- body += \`This PR will be updated and CI will run for every non-/\`chore:/\` commit that is pushed to /\`main /\`. \`
4137
+ body += \`This PR will be updated and CI will run for every non-/\`chore:/\` commit that is pushed to /\`\${REF_NAME} /\`. \`
4060
4138
body += \`To force CI to update this PR, run this command:/n/n\`
4061
4139
body += \`/\`/\`/\`/ngh workflow run release.yml -r \${REF_NAME} -R \${owner}/\${repo} -f release-pr=\${issue_number}/n/\`/\`/\`\`
4062
4140
0 commit comments