Skip to content

Commit

Permalink
fix aider, only run R CMD CHECK on PRs that change R code
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmayer committed Nov 30, 2024
1 parent 08ea832 commit 173afba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: main
pull_request:
branches: [main, master]
branches: main
paths:
- 'R/**'
- 'data/**'
- 'tests/**'
- 'vignettes/**'
- 'DESCRIPTION'
- 'NAMESPACE'

name: R CMD CHECK

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
--no-analytics \
--yes-always \
--verbose \
--lint-cmd "make format lint" \
--lint-cmd "make fix-style lint" \
--test-cmd "make test" \
--message-file combined_instructions.md \
--auto-commits
Expand Down

0 comments on commit 173afba

Please sign in to comment.