File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,16 @@ jobs:
29
29
uses : ./.github/actions/node-npm-setup
30
30
31
31
- name : Run content linter
32
+ id : linting-content-data
33
+ timeout-minutes : 10
34
+ continue-on-error : true
35
+ run : node src/content-linter/scripts/markdownlint.js --errors-only --paths content data --output-file /tmp/error-lints.json
36
+
37
+ - name : Open issue in docs-content
38
+ if : ${{ always() && steps.linting-content-data.outcome == 'failure' }}
32
39
env :
33
40
GITHUB_TOKEN : ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
34
41
REPORT_AUTHOR : docs-bot
35
42
REPORT_LABEL : broken content markdown report
36
43
REPORT_REPOSITORY : github/docs-content
37
- timeout-minutes : 10
38
- run : |
39
- node src/content-linter/scripts/markdownlint.js --errors-only --paths content data --output-file /tmp/error-lints.json
40
- node .github/actions-scripts/post-lints.js --path /tmp/error-lints.json
44
+ run : node .github/actions-scripts/post-lints.js --path /tmp/error-lints.json
You can’t perform that action at this time.
0 commit comments