You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,10 @@ If the repository does not already have a GitHub Actions workflow, create a file
53
53
54
54
name: CI
55
55
56
-
"on": [push, pull_request]
56
+
'on':
57
+
pull_request:
58
+
push:
59
+
branches: [main]
57
60
58
61
jobs:
59
62
pre-commit:
@@ -69,7 +72,7 @@ If the repository does not already have a GitHub Actions workflow, create a file
69
72
run: brew install pandoc
70
73
71
74
- name: Run pre-commit hooks
72
-
uses: pre-commit/action@v2.0.0
75
+
uses: pre-commit/action@v2.0.3
73
76
74
77
This workflow will generate a build "failure" if the plain-text mirror file is out of date with the Word file in the repository — as might happen if a contributor did not install pre-commit locally.
75
78
@@ -81,7 +84,10 @@ The ``.github/workflows/ci.yaml`` file::
81
84
82
85
name: CI
83
86
84
-
"on": [push, pull_request]
87
+
'on':
88
+
pull_request:
89
+
push:
90
+
branches: [main]
85
91
86
92
jobs:
87
93
pre-commit:
@@ -99,7 +105,7 @@ The ``.github/workflows/ci.yaml`` file::
0 commit comments