Skip to content

Commit e33cc36

Browse files
only run workflows on PR
1 parent bccbe1b commit e33cc36

File tree

7 files changed

+8
-18
lines changed

7 files changed

+8
-18
lines changed

.github/workflows/end-to-end.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
on:
2-
push:
3-
branches:
4-
- '*'
52
pull_request:
63
branches:
7-
- master
4+
- '*'
85

96
name: end-2-end
107

.github/workflows/hook-dependencies-upate.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
on:
22
schedule:
33
- cron: '50 08 18 * *'
4-
push:
5-
branches:
6-
- '*'
74

85
name: Hook dependency updates
96

.github/workflows/hook-tests-legacy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
on:
2-
push:
3-
branches:
4-
- '*'
52
pull_request:
63
branches:
7-
- master
4+
- '*'
5+
86

97
name: Legacy hook tests
108
jobs:

.github/workflows/hook-tests.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
on:
2-
push:
3-
branches:
4-
- '*'
52
pull_request:
63
branches:
7-
- master
4+
- '*'
5+
86

97
name: Hook tests
108

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: precommit
22
Title: Pre-Commit Hooks
3-
Version: 0.1.3.9013
3+
Version: 0.1.3.9900
44
Author: Lorenz Walthert
55
Maintainer: Lorenz Walthert <[email protected]>
66
Description: Useful git hooks for R building on top of the multi-language

inst/pre-commit-config-pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# R specific hooks: https://github.com/lorenzwalthert/precommit
33
repos:
44
- repo: https://github.com/lorenzwalthert/precommit
5-
rev: 3dca5ac3ebf85346a8383485badfca816ca3f84a
5+
rev: v0.1.3.9130
66
hooks:
77
- id: style-files
88
args: [--style_pkg=styler, --style_fun=tidyverse_style]

inst/pre-commit-config-proj.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# R specific hooks: https://github.com/lorenzwalthert/precommit
33
repos:
44
- repo: https://github.com/lorenzwalthert/precommit
5-
rev: 3dca5ac3ebf85346a8383485badfca816ca3f84a
5+
rev: v0.1.3.9130
66
hooks:
77
- id: style-files
88
args: [--style_pkg=styler, --style_fun=tidyverse_style]

0 commit comments

Comments
 (0)