From bc04d56094e4704a2c5afc8bbecfece5417681f4 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Mon, 28 Jun 2021 13:15:23 -0500 Subject: [PATCH] Use the DOCS_BOT access token for update-enterprise-dates script (#20174) * Use the DOCS_BOT access token for update-enterprise-dates script * Add workflow_dispatch so we can test this darn thing --- .github/workflows/open-enterprise-issue.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open-enterprise-issue.yml b/.github/workflows/open-enterprise-issue.yml index a8e96be3f6..3e64fd65cb 100644 --- a/.github/workflows/open-enterprise-issue.yml +++ b/.github/workflows/open-enterprise-issue.yml @@ -5,6 +5,7 @@ name: Open Enterprise release or deprecation issue # **Who does it impact**: Docs engineering, docs content. on: + workflow_dispatch: schedule: - cron: '49 14 * * *' # At 14:49 UTC daily @@ -28,11 +29,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update enterprise dates - if: steps.existingIssue.outputs.deprecationIssue == 'false' || steps.existingIssue.outputs.releaseIssue == 'false' + if: steps.existingIssue.outputs.deprecationIssue == 'false' || steps.existingIssue.outputs.releaseIssue == 'false' run: | script/update-enterprise-dates.js env: - GITHUB_TOKEN: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} + GITHUB_TOKEN: ${{ secrets.DOCS_BOT }} - name: Create an enterprise release issue if: steps.existingIssue.outputs.releaseIssue == 'false'