Skip to content

Commit 30dd2cf

Browse files
authored
Merge branch 'main' into matching_model
2 parents 098f52e + bf6ccb7 commit 30dd2cf

File tree

577 files changed

+30983
-20300
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

577 files changed

+30983
-20300
lines changed

.coderabbit.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
chat:
2+
auto_reply: true
3+
code_generation:
4+
docstrings:
5+
language: en-US
6+
early_access: true
7+
language: en-US
8+
reviews:
9+
assess_linked_issues: true
10+
auto_apply_labels: false
11+
auto_review:
12+
enabled: true
13+
drafts: true
14+
collapse_walkthrough: false
15+
high_level_summary: true
16+
high_level_summary_in_walkthrough: true
17+
labeling_instructions: []
18+
poem: false
19+
profile: chill
20+
request_changes_workflow: false
21+
review_status: true
22+
sequence_diagrams: false

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: Bug report
33
about: Create a report to help us improve
44
title: ''
5-
labels: ''
5+
labels: ['bug']
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
@@ -22,7 +21,9 @@ Steps to reproduce the behavior:
2221
A clear and concise description of what you expected to happen.
2322

2423
**Are you going to work on fixing this?**
25-
No.
24+
25+
- [ ] Yes
26+
- [x] No
2627

2728
**Screenshots**
2829
If applicable, add screenshots to help explain your problem.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: ''
5-
labels: ''
5+
labels: ['enhancement']
66
assignees: ''
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**
@@ -16,5 +15,10 @@ A clear and concise description of what you want to happen.
1615
**Describe alternatives you've considered**
1716
A clear and concise description of any alternative solutions or features you've considered.
1817

18+
**Are you going to work on implementing this?**
19+
20+
- [ ] Yes
21+
- [x] No
22+
1923
**Additional context**
2024
Add any other context or screenshots about the feature request here.

.github/ansible/production/nest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
tasks:
44
- name: Copy docker-compose.yaml
55
ansible.builtin.copy:
6-
src: '{{ github_workspace }}/docker-compose-production.yaml'
6+
src: '{{ github_workspace }}/docker/docker-compose-production.yaml'
77
dest: ~/docker-compose.yaml
88
mode: '0644'
99

.github/ansible/staging/nest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
tasks:
44
- name: Copy docker-compose.yaml
55
ansible.builtin.copy:
6-
src: '{{ github_workspace }}/docker-compose-staging.yaml'
6+
src: '{{ github_workspace }}/docker/docker-compose-staging.yaml'
77
dest: ~/docker-compose.yaml
88
mode: '0644'
99

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Auto Label Issues"
2+
on:
3+
issues:
4+
types:
5+
- edited
6+
- opened
7+
8+
jobs:
9+
label:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Apply Labels to Issues
13+
uses: actions/github-script@v7.0.1
14+
with:
15+
script: |
16+
const issue = context.payload.issue;
17+
const keywords = {
18+
"bug": ["error", "failure", "not working"],
19+
"enhancement": ["add", "feature request", "improve"],
20+
"question": ["clarification", "help", "how to"]
21+
};
22+
23+
let labels = [];
24+
for (const [label, words] of Object.entries(keywords)) {
25+
if (words.some(word => issue.title.toLowerCase().includes(word) || issue.body.toLowerCase().includes(word))) {
26+
labels.push(label);
27+
}
28+
}
29+
30+
if (labels.length > 0) {
31+
github.rest.issues.addLabels({
32+
issue_number: context.issue.number,
33+
labels: labels,
34+
owner: context.repo.owner,
35+
repo: context.repo.repo
36+
});
37+
}

0 commit comments

Comments
 (0)