Skip to content

Commit 109b318

Browse files
Merge pull request #867 from CheckmarxDev/other/add-restriction
added mandatory review from ast-cli team
2 parents 24cb46e + 6fdb090 commit 109b318

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: AST-CLI-Team-Review
2+
on:
3+
pull_request_target:
4+
types: [ready_for_review, opened, reopened]
5+
6+
permissions:
7+
contents: none
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
add-assignee-and-reviewers:
13+
runs-on: ubuntu-latest
14+
if: ${{ github.event.pull_request.user.type != 'Bot' }}
15+
steps:
16+
- name: Request reviewers
17+
env:
18+
GH_REPO: ${{ github.repository }}
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
PRNUM: ${{ github.event.pull_request.number }}
21+
PRAUTHOR: ${{ github.event.pull_request.user.login }}
22+
run: gh pr edit $PRNUM --add-reviewer Checkmarx/ast-sypher-team

0 commit comments

Comments
 (0)