Commit 1e80022
committed
GH Actions: split "validate" workflow
GitHub has the annoying habit of disabling workflows with a cron job after two months if the repo doesn't see any activity.
While this won't happen easily for this repo, it may happen in forks and this creates the following problem:
* If the same workflow is used for both the cron job as well as the push/pull_request CI checks...
* ... and a repo (fork) doesn't have any activity in two months time...
* ... the workflow gets disabled...
* ... which then also means that CI checks will no longer be run on newly pushed branches....
* ... which means that contributors don't get feedback ahead of creating a PR, increasing the likelyhood the PR will fail CI.
Looking at this workflow critically, only the markdown checks should be run via a cron job. All other jobs should only run on push/pull.
With that in mind, this commit splits the workflow into two workflows:
* One workflow will be triggered via `cron` and will only run the markdown related checks.
* One workflow will have all the other triggers (`push`/`pull_request`/`workflow_dispatch`) and will run the full set of validation checks.
This way, if the cron job workflow gets disabled, the workflow which is used for the other triggers will continue to function.1 parent d557e40 commit 1e80022
2 files changed
+27
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
| |||
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 44 | | |
54 | 45 | | |
55 | 46 | | |
| |||
91 | 82 | | |
92 | 83 | | |
93 | 84 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 85 | | |
98 | 86 | | |
99 | 87 | | |
| |||
130 | 118 | | |
131 | 119 | | |
132 | 120 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 121 | | |
137 | 122 | | |
138 | 123 | | |
139 | 124 | | |
140 | 125 | | |
141 | 126 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 127 | | |
146 | 128 | | |
147 | 129 | | |
148 | 130 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 131 | | |
153 | 132 | | |
154 | 133 | | |
| |||
0 commit comments