From 0b20741978c459e1b1bb81737d87a888af695b86 Mon Sep 17 00:00:00 2001 From: "rE-Bo0t.bx1" <54429050+r3bo0tbx1@users.noreply.github.com> Date: Thu, 5 Feb 2026 17:15:48 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20feat(ci):=20auto-assign=20review?= =?UTF-8?q?er=20to=20Dependabot=20PRs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/assign.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/assign.yml diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml new file mode 100644 index 0000000..cddec11 --- /dev/null +++ b/.github/workflows/assign.yml @@ -0,0 +1,20 @@ +name: 👤🎟️ +on: + pull_request: + types: [opened] + +jobs: + assign: + if: github.actor == 'dependabot[bot]' + runs-on: ubuntu-latest + steps: + - name: Assign reviewer + uses: actions/github-script@v7 + with: + script: | + await github.rest.pulls.requestReviewers({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.issue.number, + reviewers: ['r3bo0tbx1'] + }); \ No newline at end of file