Skip to content

Commit 665fb08

Browse files
authored
chore: update ci (#2574)
1 parent 96b15d4 commit 665fb08

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
## Checklist
1717

1818
- [ ] I've read the [contributing](https://github.com/olimorris/codecompanion.nvim/blob/main/CONTRIBUTING.md) guidelines and have adhered to them in this PR
19-
- [ ] I've added [test](https://github.com/olimorris/codecompanion.nvim/blob/main/CONTRIBUTING.md#testing) coverage for this fix/feature
20-
- [ ] I've run `make all` to ensure docs are generated, tests pass and my formatting is applied
21-
- [ ] _(optional)_ I've updated `CodeCompanion.has` in the [init.lua](https://github.com/olimorris/codecompanion.nvim/blob/main/lua/codecompanion/init.lua#L239) file for my new feature
19+
- [ ] I've run `make all` to ensure docs are generated, tests pass and [StyLua](https://github.com/JohnnyMorganz/StyLua) has formatted my code
20+
- [ ] _(optional)_ I've added [test](https://github.com/olimorris/codecompanion.nvim/blob/main/CONTRIBUTING.md#testing) coverage for this fix/feature
2221
- [ ] _(optional)_ I've updated the README and/or relevant docs pages
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Require Checklist
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize]
6+
issues:
7+
types: [opened, edited, deleted]
8+
9+
jobs:
10+
check-tasks:
11+
runs-on: ubuntu-latest
12+
if: github.event.pull_request.user.login != 'dependabot[bot]' and github.event.pull_request.user.login != 'olimorris' and github.event.pull_request.draft == false
13+
steps:
14+
- uses: mheap/require-checklist-action@v2
15+
with:
16+
requireChecklist: false
17+
skipDescriptionRegex: .*\(optional\).*
18+
skipDescriptionRegexFlags: i

CONTRIBUTING.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,13 @@ They're located [here](https://codecompanion.olimorris.dev) and are regularly up
2727

2828
### Use Rules
2929

30-
When working inside the CodeCompanion repository, you have access to the built-in [rule](https://codecompanion.olimorris.dev/usage/chat-buffer/rules) files. These give an LLM knowledge of how a certain aspect of the plugin has been implemented. If you're looking to add a new feature to CodeCompanion, memory is a great way of ensuring you follow existing practices and that your LLM fully understands the architecture and design decisions that have been made.
30+
When working inside the CodeCompanion repository, you have access to the built-in [rule](https://codecompanion.olimorris.dev/usage/chat-buffer/rules) files. These give an LLM knowledge of how a certain aspect of the plugin has been implemented. If you're looking to add a new feature to CodeCompanion, rules are a great way of ensuring you follow existing practices and that your LLM fully understands the architecture and design decisions that have been made.
3131

32-
You can load memory into the chat via the Action Palette:
32+
You can load rules into the chat via the Action Palette:
3333

3434
<img src="https://github.com/user-attachments/assets/7ea80fd0-136e-4d7e-9d70-f4d08dec005c">
3535

36-
Or, via the `/rules` slash command. Currently, the memory files that have been added are:
37-
38-
- ACP
39-
- Adapters
40-
- Chat
41-
- Tests
42-
- Tools
43-
- UI
36+
Or, via the `/rules` slash command.
4437

4538
### Refer to the Tests
4639

0 commit comments

Comments
 (0)