Skip to content

Commit

Permalink
ignore aider files (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmayer authored Nov 30, 2024
1 parent 4bc3446 commit c9b562c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/aider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
required: false
type: string
default: 'claude-3-5-sonnet-20241022'
branch:
description: 'Branch to check out'
required: false
type: string
default: 'main'

permissions:
contents: write
Expand All @@ -28,6 +33,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}

- uses: r-lib/actions/setup-r@v2
with:
Expand Down Expand Up @@ -59,7 +66,7 @@ jobs:

- name: Prepare Instructions
run: |
echo "${{ steps.get-issue.outputs.issue-body }}" > issue.md
printf '%s' "${{ steps.get-issue.outputs.issue-body }}" > issue.md
cat aider-instructions.md issue.md > combined_instructions.md
- name: Run Aider
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,5 @@ Meta
/Meta/
inst/doc
docs
.aider*
.env
18 changes: 18 additions & 0 deletions aider-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Instructions

Fix the below github issue. Notes:

- Use modern best practices for R.
- Do not use the tidyverse.
- Write clean-lint free code that conforms to all the rules in lintr.
- Make minimal, surgical changes.
- Write self-documenting code that doesn't need many comments.
- Use roxygen2 if you write new functions.
- Add unit tests for new functions.
- Add tests cases for bugs you fix or new functionality you add.
- Don't ask for help: I can't help you. Make do with the information provided.
- Feel free to load any files to chat you need to read
- Use the repo map to your advantage
- Also feel free to unload files

Think carefully, step-by-step, and plan your work before doing it.

0 comments on commit c9b562c

Please sign in to comment.