Skip to content

Commit 8f7e049

Browse files
committed
add a [skip ci] conditional
1 parent 6e60c35 commit 8f7e049

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
33
on:
44
push:
5-
branches: [main, master]
5+
branches: [main]
66
pull_request:
77

88
name: R-CMD-check
@@ -11,6 +11,8 @@ permissions: read-all
1111

1212
jobs:
1313
R-CMD-check:
14+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
15+
1416
runs-on: ${{ matrix.config.os }}
1517

1618
name: ${{ matrix.config.os }} (${{ matrix.config.r }})

0 commit comments

Comments
 (0)