Skip to content

Commit aff016a

Browse files
committed
Look up for only R or tests files (not vignettes, CI/CD or dependencies)
1 parent 62dee69 commit aff016a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-check-install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ jobs:
518518
- name: Check only affected modules
519519
if: startsWith(${{ github.event.repository.name }}, "teal.modules.") && github.event_name == 'pull_request'
520520
run: |
521-
# Get the list of files that have changed
522-
files=$(git diff --name-only main..)
521+
# Get the list of R files that have changed
522+
files=$(git diff --name-only main.. -- tests/* R/*.R)
523523
524524
# Base directories
525525
src_dir="R/"

0 commit comments

Comments
 (0)