Skip to content

Commit d8128d3

Browse files
chore: Fix labels
The PR gophercloud#2656 caused all labels to be removed, because each run of the action eliminates all labels that aren't listed. This PR reintroduces our semver labels and the `good first issue` label in the repository.
1 parent b984718 commit d8128d3

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed

.github/labels.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- color: '9E1957'
2+
description: Breaking change
3+
name: semver:major
4+
- color: 'FBCA04'
5+
description: Backwards-compatible change
6+
name: semver:minor
7+
- color: '6E7624'
8+
description: No API change
9+
name: semver:patch
10+
- color: '30ABB9'
11+
description: This PR will be backported to v1
12+
name: backport-v1
13+
- color: 'BCF611'
14+
description: A good issue for first-time contributors
15+
name: good first issue

.github/semver-labels.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
1-
name: Ensure labels
1+
name: Apply labels in .github/labels.yaml
22
on:
33
push:
44
branches:
55
- master
66
paths:
7-
- .github/ensure-labels.yaml
8-
- .github/backport-labels.yaml
9-
- .github/workflows/semver-labels.yaml
7+
- .github/labels.yaml
8+
- .github/workflows/ensure-labels.yaml
109
jobs:
11-
semver:
10+
ensure:
1211
runs-on: ubuntu-latest
1312
steps:
1413
- uses: actions/checkout@v3
1514
- uses: micnncim/action-label-syncer@v1
1615
env:
1716
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1817
with:
19-
manifest: .github/semver-labels.yaml
20-
backport:
21-
runs-on: ubuntu-latest
22-
steps:
23-
- uses: actions/checkout@v3
24-
- uses: micnncim/action-label-syncer@v1
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
with:
28-
manifest: .github/backport-labels.yaml
18+
manifest: .github/labels.yaml

0 commit comments

Comments
 (0)