Skip to content

Commit 1b49624

Browse files
committed
Label workflow moved to external action
1 parent 03d2a7a commit 1b49624

File tree

3 files changed

+4
-342
lines changed

3 files changed

+4
-342
lines changed

tools/labels.json renamed to .github/labels.json

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"user": "facelessuser",
3-
"repo": "Rummage",
4-
52
"colors": {
63
"bug": "#c45b46",
74
"feature": "#7b17d8",

.github/workflows/labels.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,13 @@ on:
77

88
jobs:
99
label-sync:
10-
strategy:
11-
max-parallel: 4
12-
matrix:
13-
python-version: [3.7]
1410

1511
runs-on: ubuntu-latest
1612

1713
steps:
1814
- uses: actions/checkout@v1
19-
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v1
21-
with:
22-
python-version: ${{ matrix.python-version }}
23-
- name: Install dependencies
24-
run: |
25-
python -m pip install --upgrade pip setuptools
26-
python -m pip install -r requirements/tools.txt
2715
- name: Sync labels
28-
run: |
29-
python tools/gh_labels.py -i tools/labels.json -t ${{ secrets.GH_DEPLOY_KEY }} -d
16+
uses: facelessuser/label-mgr-action@master
17+
with:
18+
token: ${{ secrets.GH_DEPLOY_KEY }}
19+
mode: 'delete'

tools/gh_labels.py

-325
This file was deleted.

0 commit comments

Comments
 (0)