File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Enforce that man/dcfldd.1 remains in sync
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ schedule :
7
+ - cron : ' 0 16 * * 5' # Every Friday 4pm
8
+ workflow_dispatch :
9
+
10
+ # Drop permissions to minimum for security
11
+ permissions :
12
+ contents : read
13
+
14
+ jobs :
15
+ man_page_in_sync :
16
+ runs-on : ubuntu-24.04
17
+ steps :
18
+
19
+ - uses : actions/checkout@v4
20
+
21
+ - name : Install build dependencies
22
+ run : |
23
+ sudo apt-get update
24
+ sudo apt-get install --no-install-recommends --yes -V \
25
+ txt2man
26
+
27
+ - name : Check man/dcfldd.1 for being in sync
28
+ run : |
29
+ set -x
30
+ cd man/
31
+ rm dcfldd.1 # so that create-man.sh has to close that very gap
32
+ ./create-man.sh
33
+ git diff --exit-code # i.e. fail CI in case of a diff (and show it)
You can’t perform that action at this time.
0 commit comments