Skip to content

Commit 431d1d4

Browse files
authored
Add label export file (ml-tooling#18)
1 parent a2b7875 commit 431d1d4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/export-labels.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Export label config
2+
on:
3+
# You can run this with every event, but it's better to run it only when you actually need it.
4+
workflow_dispatch:
5+
6+
jobs:
7+
labels:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: EndBug/export-label-config@v1
12+
with:
13+
# This is needed if you're dealing with private repos.
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
16+
# Set this to `true` if you want to get the raw API reponse. Defaults to `false`.
17+
raw-result: false
18+
19+
# By default every label entry will have an `aliases` property set to an empty array.
20+
# It's for EndBug/label-sync, if you don't want it you cans set this to `false`
21+
add-aliases: false

0 commit comments

Comments
 (0)