Skip to content

Commit 67520d9

Browse files
author
Jakub Jirous
committed
auto assign action
auto assign action
1 parent bf5ea2b commit 67520d9

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.github/auto_assign.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# GitHub:
2+
# https://github.com/kentaro-m/auto-assign-action
3+
4+
# Set addAssignees to 'author' to set the PR creator as the assignee.
5+
addAssignees: author
6+
7+
# Run for all PRs
8+
runOnDraft: true

.github/labeler.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# GitHub:
2+
# https://github.com/actions/labeler
3+
14
code-challenge:
25
- any: ["src/**/*.ts"]

.github/workflows/auto_assign.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Auto Assign Action"
2+
3+
on:
4+
- pull_request_target
5+
6+
jobs:
7+
triage:
8+
name: "Auto Assign"
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: kentaro-m/[email protected]
17+
with:
18+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)