Skip to content

Commit

Permalink
Update auto-assign.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartvauder committed Nov 3, 2024
1 parent b205ae8 commit 2bf0f08
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
name: Auto Assign Author

name: 'Auto Assign'
on:
issues:
types: [opened]
pull_request:
types: [opened]

jobs:
add_assignees:
add-reviews:
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 }}

- uses: kentaro-m/auto-assign-action@v2.0.0

0 comments on commit 2bf0f08

Please sign in to comment.