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: .github/workflows/publish-wiki.yml
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,18 @@ jobs:
36
36
- name: Checkout code
37
37
uses: actions/checkout@v4
38
38
39
+
- name: Copy wiki files to temporary location
40
+
shell: bash
41
+
run: cp -v -a wiki _wiki
42
+
43
+
- name: Preface markdown files with warning not to edit in place
44
+
# yamllint disable rule:line-length
45
+
run: >
46
+
find ./_wiki/ -name "*.md*"
47
+
-exec sed -i
48
+
'1i\<!--\nDO NOT EDIT THIS FILE IN THE WIKI.\nThis wiki is updated from the https://github.com/PHPCSStandards/PHP_CodeSniffer-documentation repo.\nSubmit a PR to that repo updating the file in the `/wiki/` subdirectory instead.\n-->\n\n' {} \;
0 commit comments