1
0
mirror of synced 2026-01-08 03:01:54 -05:00

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
This commit is contained in:
James M. Greene
2021-06-28 13:15:23 -05:00
committed by GitHub
parent 991c566bcd
commit bc04d56094

View File

@@ -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'