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
@@ -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:
@@ -65,8 +68,11 @@ If the repository does not already have a GitHub Actions workflow, create a file
65
68
- name: Set up Python
66
69
uses: actions/setup-python@v2
67
70
71
+
- name: Install pandoc
72
+
run: brew install pandoc
73
+
68
74
- name: Run pre-commit hooks
69
-
uses: pre-commit/action@v2.0.0
75
+
uses: pre-commit/action@v2.0.3
70
76
71
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.
72
78
@@ -78,7 +84,10 @@ The ``.github/workflows/ci.yaml`` file::
78
84
79
85
name: CI
80
86
81
-
"on": [push, pull_request]
87
+
'on':
88
+
pull_request:
89
+
push:
90
+
branches: [main]
82
91
83
92
jobs:
84
93
pre-commit:
@@ -92,8 +101,11 @@ The ``.github/workflows/ci.yaml`` file::
92
101
- name: Set up Python
93
102
uses: actions/setup-python@v2
94
103
104
+
- name: Install pandoc
105
+
run: brew install pandoc
106
+
95
107
- name: Run pre-commit hooks
96
-
uses: pre-commit/action@v2.0.0
108
+
uses: pre-commit/action@v2.0.3
97
109
with:
98
110
token: ${{ secrets.GITHUB_TOKEN }}
99
111
@@ -115,7 +127,7 @@ However, you can customize the suffix of the file name by setting a ``--suffix``
0 commit comments