Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore aider files #358

Merged
merged 4 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading