File tree Expand file tree Collapse file tree 5 files changed +563
-201
lines changed Expand file tree Collapse file tree 5 files changed +563
-201
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : github-actions
4
+ directory : " /"
5
+ schedule :
6
+ interval : weekly
7
+ open-pull-requests-limit : 10
8
+ - package-ecosystem : pip
9
+ directory : " /label_export"
10
+ schedule :
11
+ interval : weekly
12
+ open-pull-requests-limit : 10
Original file line number Diff line number Diff line change
1
+ name : Export labels
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - ' .github/workflows/label_export.yml'
9
+ - ' label_export/export_annotations.py'
10
+ pull_request :
11
+ paths :
12
+ - ' .github/workflows/label_export.yml'
13
+ - ' label_export/export_annotations.py'
14
+
15
+ jobs :
16
+ export_labels :
17
+ runs-on : ubuntu-latest
18
+ name : Export labels
19
+ steps :
20
+ - name : Checkout
21
+ uses : actions/checkout@v4
22
+ - name : Set up Python
23
+ uses : actions/setup-python@v5.1.1
24
+ with :
25
+ python-version : ' 3.x'
26
+ - name : Install dependencies
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ pip install
30
+ working-directory : ./label_export
31
+ - name : Export labels
32
+ run : python ./export_annotations.py
33
+ working-directory : ./label_export
34
+ - name : Upload labels JSON
35
+ uses : actions/upload-artifact@v4.3.4
36
+ with :
37
+ name : labels
38
+ path : ./label_export/annotations.json
You can’t perform that action at this time.
0 commit comments