Skip to content

Commit 5ed0205

Browse files
labels: add workflow related labels
This adds some labels related to the higher level workflows of developing nixpkgs: - "4.workflow: backport" can be used to filter everything targeting the stable branches, both release-XX.YY or staging-XX.YY. - "4.workflow: package set updates" can be used to filter the haskell/python package set PRs. Can be combined with "6.topic: haskell" or "6.topic: python". - "4.workflow: staging" can be used to filter for all staging-next PRs, both to master and release branches.
1 parent 1909520 commit 5ed0205

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/labeler-protected-branches.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# This file is used by .github/workflows/labels.yml
22
# This version is only run for Pull Requests from protected branches like staging-next, haskell-updates or python-updates.
33

4+
"4.workflow: package set update":
5+
- any:
6+
- head-branch:
7+
- '-updates$'
8+
9+
"4.workflow: staging":
10+
- any:
11+
- head-branch:
12+
- '^staging-next$'
13+
- '^staging-next-'
14+
415
"6.topic: haskell":
516
- any:
617
- head-branch:

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
# keep-sorted start case=no numeric=yes newline_separated=yes skip_lines=1
55

6+
"4.workflow: backport":
7+
- any:
8+
- base-branch:
9+
- '^release-'
10+
- '^staging-'
11+
612
# NOTE: bsd, darwin and cross-compilation labels are handled by ofborg
713
"6.topic: agda":
814
- any:

0 commit comments

Comments
 (0)