-
-
Notifications
You must be signed in to change notification settings - Fork 5
31 lines (27 loc) · 744 Bytes
/
sync_labels.yaml
File metadata and controls
31 lines (27 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: ♻️ Sync Labels
on:
push:
paths:
- .github/labels.yml
branches:
- main
workflow_dispatch:
jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-20.04
permissions:
issues: write
contents: read
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4
- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v2
with:
config-file: https://raw.githubusercontent.com/Flutter-Journey/.github/main/.github/labels.yml
- name: 🚀 Run Label Sync (Local)
if: ${{ hashFiles('.github/labels.yml') }}
uses: srealmoreno/label-sync-action@v2
with:
config-file: .github/labels.yml