Skip to content

Commit

Permalink
Create auto-assign.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartvauder committed Nov 3, 2024
1 parent 6e8d302 commit 3977a65
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Auto Assign Author

on:
issues:
types: [opened]
pull_request:
types: [opened]

jobs:
auto-assign:
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-assign@v2
with:
assignees: ${{ github.actor }}

- name: Assign author to pull request
if: github.event_name == 'pull_request'
uses: actions-ecosystem/action-assign@v2
with:
assignees: ${{ github.actor }}

0 comments on commit 3977a65

Please sign in to comment.