diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml new file mode 100644 index 00000000..390d3a11 --- /dev/null +++ b/.github/workflows/assign.yml @@ -0,0 +1,19 @@ +name: Assign + +on: + pull_request: + types: opened + +permissions: + pull-requests: write + repository-projects: read + +jobs: + assign: + name: Assign yourself + runs-on: ubuntu-latest + steps: + - name: Set GitHub assignees + env: + GH_TOKEN: ${{ github.token }} + run: gh pr edit ${{ github.event.number }} --add-assignee ${{ github.actor }} --repo ${{ github.repository }}