From 3a62f1fa50068fc03d5f1ad3b7b1f54197768a59 Mon Sep 17 00:00:00 2001 From: Oliver <965863+oli-ver@users.noreply.github.com> Date: Fri, 9 Oct 2026 02:35:00 +0200 Subject: [PATCH] Create auto-assign-pr.yml --- .github/workflows/auto-assign-pr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/auto-assign-pr.yml diff --git a/.github/workflows/auto-assign-pr.yml b/.github/workflows/auto-assign-pr.yml new file mode 100644 index 0000000..387d047 --- /dev/null +++ b/.github/workflows/auto-assign-pr.yml @@ -0,0 +1,17 @@ +name: Auto-assign PRs + +on: + pull_request: + types: [opened] + +jobs: + assign-pr: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: Assign PR to me + run: | + gh pr edit ${{ github.event.pull_request.number }} --add-assignee ${{ github.repository_owner }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file