Skip to content

Commit beda777

Browse files
committed
πŸš€ Add Auto Assign Workflow
1 parent 460a38e commit beda777

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

β€Ž.github/workflows/auto_asign.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto Assign
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- name: 'Auto-assign issue'
15+
uses: pozil/auto-assign-issue@v1
16+
with:
17+
repo-token: ${{ secrets.GH_TOKEN }}
18+
assignees: ChunhThanhDe
19+
numOfAssignee: 1

β€Ž.github/workflows/sync_labels.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,10 @@ jobs:
2222
- name: πŸš€ Run Label Sync
2323
uses: srealmoreno/label-sync-action@v2
2424
with:
25-
config-file: https://raw.githubusercontent.com/Flutter-Journey/.github/main/.github/labels.yml
25+
config-file: https://raw.githubusercontent.com/Flutter-Journey/.github/main/.github/labels.yml
26+
27+
- name: πŸš€ Run Label Sync (Local)
28+
if: ${{ hashFiles('.github/labels.yml') }}
29+
uses: srealmoreno/label-sync-action@v2
30+
with:
31+
config-file: .github/labels.yml

0 commit comments

Comments
Β (0)