Skip to content

Commit 407f65b

Browse files
authored
Add Arborist step for branch approval enforcement
Added Arborist step to enforce branch approval rules.
1 parent 4ad9e2d commit 407f65b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ jobs:
1313
- uses: actions/checkout@v6.0.1
1414
with:
1515
fetch-depth: '0'
16+
- name: Arborist
17+
id: arborist
18+
with:
19+
branches: '["main"]'
20+
min-approvals: 2
21+
enforce-admins: false
22+
team-roles: '{"technical-leaders": "maintain"}'
23+
uses: dluman/arborist@v0.3.0
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.ARBORIST_API_KEY }}
1626
- name: Setup Python
1727
if: always()
1828
uses: actions/setup-python@v6.1.0

0 commit comments

Comments
 (0)