From 6fdb0906bb4d1887a7f9f7f6219c5c243d937718 Mon Sep 17 00:00:00 2001 From: cx-anurag-dalke <120229307+cx-anurag-dalke@users.noreply.github.com> Date: Tue, 22 Jul 2025 20:24:04 +0530 Subject: [PATCH] added mandatory review from ast-cli team --- .github/workflows/ast-cli-team-review.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ast-cli-team-review.yml diff --git a/.github/workflows/ast-cli-team-review.yml b/.github/workflows/ast-cli-team-review.yml new file mode 100644 index 00000000..b597e154 --- /dev/null +++ b/.github/workflows/ast-cli-team-review.yml @@ -0,0 +1,22 @@ +name: AST-CLI-Team-Review +on: + pull_request_target: + types: [ready_for_review, opened, reopened] + +permissions: + contents: none + issues: write + pull-requests: write + +jobs: + add-assignee-and-reviewers: + runs-on: ubuntu-latest + if: ${{ github.event.pull_request.user.type != 'Bot' }} + steps: + - name: Request reviewers + env: + GH_REPO: ${{ github.repository }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PRNUM: ${{ github.event.pull_request.number }} + PRAUTHOR: ${{ github.event.pull_request.user.login }} + run: gh pr edit $PRNUM --add-reviewer Checkmarx/ast-sypher-team \ No newline at end of file