Skip to content

Only run Auto Assign PR workflow if PR is not merged #3365

Only run Auto Assign PR workflow if PR is not merged

Only run Auto Assign PR workflow if PR is not merged #3365

Workflow file for this run

name: "Auto Assign PR"
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
jobs:
add_assignees:
runs-on: ubuntu-latest
if: ${{ ! github.event.pull_request.assignees.name }}
steps:
- run: echo "${{ github.event.pull_request.assignees.name }}"
- uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
assignees: ${{ github.actor }}