Skip to content

Commit 1a6ec26

Browse files
committed
feat(workflows): add auto-assign workflow for PR authors
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent d34f75f commit 1a6ec26

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/auto-assign.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Auto assign PR author
2+
3+
on:
4+
issues:
5+
types: [ opened, reopened ]
6+
pull_request_target:
7+
types: [ opened, reopened ]
8+
workflow_call:
9+
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
assign-author:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Auto assign PR author
19+
uses: toshimaru/auto-author-assign@v3.0.1
20+
with:
21+
repo-token: ${{ github.token }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto assign
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened]
6+
issues:
7+
types: [opened, reopened]
8+
9+
jobs:
10+
auto-assign:
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
uses: php-fast-forward/dev-tools/.github/workflows/auto-assign.yml@main

0 commit comments

Comments
 (0)