Skip to content

Commit 53b4c3f

Browse files
authored
feat(ci/cd): Add GitHub Action for auto-assigning PRs (#2209)
out of the recipes from https://github.com/actions-ecosystem/recipes this sounded very interesting. As we're sometimes forgetting to set ourselves as the assignee after opening a PR, this action would be very helpful.
1 parent ea6ce93 commit 53b4c3f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/auto-assign.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Auto Assign
2+
3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
7+
on:
8+
pull_request:
9+
types:
10+
- opened
11+
- reopened
12+
13+
jobs:
14+
add_labels:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions-ecosystem/action-add-assignees@v1
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
assignees: ${{ github.actor }}

0 commit comments

Comments
 (0)