Skip to content

Commit 6c53f02

Browse files
committed
chore: replace labeler workflows with Carson's auto-labeler and conflicts-notifier
1 parent 538c762 commit 6c53f02

5 files changed

Lines changed: 30 additions & 121 deletions

File tree

‎.github/carson.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,32 @@
22

33
version: 1
44
subscribers:
5+
- auto-labeler
6+
- conflicts-notifier
57
- pr-title-linter
68
settings:
9+
auto-labeler:
10+
sync_labels: true
11+
rules:
12+
- label: '4.8' # @todo change value whenever the next minor version is changed
13+
base_branch: ['^4\.8$']
14+
- label: github_actions
15+
files: ['.github/workflows/*']
16+
- label: documentation
17+
files:
18+
all: ['user_guide_src/source/**']
19+
- label: testing
20+
files:
21+
all: ['tests/**']
22+
conflicts-notifier:
23+
label: stale
24+
message: |-
25+
:wave: Hi, @{{user}}!
26+
27+
We detected conflicts in your PR against the base branch :speak_no_evil:
28+
You may want to sync :arrows_counterclockwise: your branch with upstream!
29+
30+
Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#updating-your-branch)
731
pr-title-linter:
832
name: 'Carson / pr-title'
933
rules:

‎.github/labeler.yml‎

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎.github/workflows/label-add-conflict-all-pr.yml‎

Lines changed: 0 additions & 51 deletions
This file was deleted.

‎.github/workflows/label-pr.yml‎

Lines changed: 0 additions & 47 deletions
This file was deleted.

‎.github/workflows/run-carson.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
types:
66
- opened
77
- edited
8+
- synchronize
9+
- reopened
10+
push:
11+
branches:
12+
- develop
13+
- '4.*'
814

915
permissions: {}
1016

0 commit comments

Comments
 (0)