Skip to content

Update auto-assign.yml #6

Update auto-assign.yml

Update auto-assign.yml #6

Workflow file for this run

name: Auto Assign Author
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
add_assignees:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Assign author to issue
if: github.event_name == 'issues'
uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ secrets.github_token }}
assignees: ${{ github.actor }}
- name: Assign author to pull request
if: github.event_name == 'pull_request'
uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ secrets.github_token }}
assignees: ${{ github.actor }}