File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Auto Label Conflicts
2+ on :
3+ pull_request :
4+ branches :
5+ - ' develop'
6+ - ' 4.*'
7+
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
10+ cancel-in-progress : true
11+
12+ permissions :
13+ contents : read
14+ issues : write
15+ pull-requests : write
16+
17+ jobs :
18+ auto-label :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : prince-chrismc/label-merge-conflicts-action@v3
22+ with :
23+ conflict_label_name : ' stale'
24+ github_token : ${{ github.token }}
25+
26+ # --- Optional Inputs ---
27+ # To make sure the merge commit exactly matches the branch
28+ detect_merge_changes : true # or true to handle as conflicts
29+ # By default a comment will be left, adding `conflict_comment: ''` will disable comments
30+ # The optional `${author}` will be replaced with the username of the pull request
31+ conflict_comment : |
32+ :wave: Hi, @${author},
33+
34+ We detected conflicts in your PR against the base branch :speak_no_evil:
35+ You may want to sync :arrows_counterclockwise: your branch with upstream!
36+
37+ Ref: https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#pushing-your-branch
You can’t perform that action at this time.
0 commit comments