Skip to content

Commit 6b1d5ac

Browse files
committed
✅ update workflows
1 parent b6c1a74 commit 6b1d5ac

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
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

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
name: ♻️ Sync Labels
3+
4+
on:
5+
push:
6+
paths:
7+
- .github/labels.yml
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
labels:
14+
name: ♻️ Sync labels
15+
runs-on: ubuntu-20.04
16+
permissions:
17+
issues: write
18+
contents: read
19+
steps:
20+
- name: ⤵️ Check out code from GitHub
21+
uses: actions/checkout@v4
22+
23+
- name: 🚀 Run Label Sync
24+
uses: srealmoreno/label-sync-action@v2
25+
with:
26+
config-file: https://raw.githubusercontent.com/Flutter-Journey/.github/main/.github/labels.yml
27+
28+
- name: 🚀 Run Label Sync (Local)
29+
if: ${{ hashFiles('.github/labels.yml') }}
30+
uses: srealmoreno/label-sync-action@v2
31+
with:
32+
config-file: .github/labels.yml
33+

0 commit comments

Comments
 (0)