From a83787aff0aaecd97536204ab9ce169d36f39018 Mon Sep 17 00:00:00 2001 From: Evan Bonsignori Date: Wed, 23 Nov 2022 05:06:44 -0800 Subject: [PATCH] use docs-bot to find existing report issues in link checker (#32883) --- .github/actions/rendered-content-link-checker.js | 2 +- .github/workflows/link-check-daily.yml | 2 +- script/rendered-content-link-checker.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/rendered-content-link-checker.js b/.github/actions/rendered-content-link-checker.js index 49e1f9f21a..215b30e1cd 100755 --- a/.github/actions/rendered-content-link-checker.js +++ b/.github/actions/rendered-content-link-checker.js @@ -305,7 +305,7 @@ async function createReportIssue(core, octokit, flaws, opts) { async function linkReports(core, octokit, newReport, opts) { const { reportRepository = 'github/docs-content', - reportAuthor = 'docubot', + reportAuthor = 'docs-bot', reportLabel = 'broken link report', } = opts diff --git a/.github/workflows/link-check-daily.yml b/.github/workflows/link-check-daily.yml index 7a55af00d5..fa60932dfe 100644 --- a/.github/workflows/link-check-daily.yml +++ b/.github/workflows/link-check-daily.yml @@ -67,7 +67,7 @@ jobs: # ACTIONS_RUNNER_DEBUG = true ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} GITHUB_TOKEN: ${{ secrets.DOCS_BOT_FR }} - REPORT_AUTHOR: docubot + REPORT_AUTHOR: docs-bot REPORT_LABEL: broken link report REPORT_REPOSITORY: github/docs-content CREATE_REPORT: true diff --git a/script/rendered-content-link-checker.js b/script/rendered-content-link-checker.js index 7f76384cb8..49c60e766d 100755 --- a/script/rendered-content-link-checker.js +++ b/script/rendered-content-link-checker.js @@ -49,7 +49,7 @@ program ) .option( '--report-author ', - 'Previous author of report PR for linking. (default: "docubot")' + 'Previous author of report PR for linking. (default: "docs-bot")' ) .option( '--report-label