diff --git a/.github/workflows/lint-entire-content-data-markdown.yml b/.github/workflows/lint-entire-content-data-markdown.yml index d08e343e1e..bb873722b1 100644 --- a/.github/workflows/lint-entire-content-data-markdown.yml +++ b/.github/workflows/lint-entire-content-data-markdown.yml @@ -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