Skip to content

Commit 676e9f7

Browse files
Merge pull request #472 from Anmol-Baranwal/hack_pr_assign
docs: add workflow to assign PR to its author
2 parents bbedf1b + 125ec26 commit 676e9f7

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

β€Ž.github/ISSUE_TEMPLATE/script-addition.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Feature Request πŸ’‘
1+
name: Script Addition πŸ’»
22
description: Have any new script you wish to add? Please use this!
33
title: "[Feat] <description>"
44
labels: ["goal: script-addition"]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Author Assign PR"
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
assign-author:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: toshimaru/auto-author-assign@v1.6.2
15+
with:
16+
repo-token: "${{ secrets.GITHUB_TOKEN }}" # GITHUB_TOKEN will be used by default

0 commit comments

Comments
Β (0)