Update weekly broken content linting workflow (#42659)
This commit is contained in:
@@ -29,12 +29,16 @@ jobs:
|
||||
uses: ./.github/actions/node-npm-setup
|
||||
|
||||
- name: Run content linter
|
||||
id: linting-content-data
|
||||
timeout-minutes: 10
|
||||
continue-on-error: true
|
||||
run: node src/content-linter/scripts/markdownlint.js --errors-only --paths content data --output-file /tmp/error-lints.json
|
||||
|
||||
- name: Open issue in docs-content
|
||||
if: ${{ always() && steps.linting-content-data.outcome == 'failure' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
|
||||
REPORT_AUTHOR: docs-bot
|
||||
REPORT_LABEL: broken content markdown report
|
||||
REPORT_REPOSITORY: github/docs-content
|
||||
timeout-minutes: 10
|
||||
run: |
|
||||
node src/content-linter/scripts/markdownlint.js --errors-only --paths content data --output-file /tmp/error-lints.json
|
||||
node .github/actions-scripts/post-lints.js --path /tmp/error-lints.json
|
||||
run: node .github/actions-scripts/post-lints.js --path /tmp/error-lints.json
|
||||
|
||||
Reference in New Issue
Block a user