Skip to content

Commit bfc9597

Browse files
authored
Merge pull request #2048 from CodeHarborHub/Ajay-Dhangar-patch-21
Create autoAssign.yml
2 parents 857746c + 725f20b commit bfc9597

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/autoAssign.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Auto Assign and Limit Issues
2+
on:
3+
issues:
4+
types: [labeled, opened]
5+
6+
jobs:
7+
auto-assign:
8+
runs-on: ubuntu-latest
9+
10+
permissions:
11+
issues: write
12+
13+
steps:
14+
- name: Auto Assign for bug
15+
uses: wow-actions/auto-assign@v3
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
assignees: ajay-dhangar
19+
includeLabels: bug
20+
21+
- name: Auto Assign for enhancement
22+
uses: wow-actions/auto-assign@v3
23+
with:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
assignees: ajay-dhangar
26+
includeLabels: enhancement
27+
28+
limit-issues:
29+
runs-on: ubuntu-latest
30+
31+
permissions:
32+
issues: write
33+
34+
steps:
35+
- name: Limit number of issues per user
36+
uses: ./.github/actions/issue-limit
37+
with:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)