Skip to content

Commit

Permalink
Do not rebuild R package for PRs (#190)
Browse files Browse the repository at this point in the history
This takes a long time for some packages. No need to rebuild for PRs.
  • Loading branch information
cicdguy authored Oct 16, 2023
1 parent a2f520d commit 4711b6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,9 @@ jobs:

- name: Rebuild R package 🏗
if: >
inputs.disable-unit-test-reports != 'true' ||
startsWith(github.ref, 'refs/tags/v')
(inputs.disable-unit-test-reports != 'true' ||
startsWith(github.ref, 'refs/tags/v')) &&
github.event_name != 'pull_request'
run: |
# Undo changes to DESCRIPTION and tests/testthat.R
git checkout DESCRIPTION
Expand Down

0 comments on commit 4711b6e

Please sign in to comment.