Update automation to add audit log PRs to the review board (#42657)
Co-authored-by: skedwards88 <skedwards88@github.com>
This commit is contained in:
18
.github/workflows/docs-review-collect.yml
vendored
18
.github/workflows/docs-review-collect.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Add docs-reviewers request to the docs-content review board
|
||||
|
||||
# **What it does**: Adds PRs in github/github that requested a review from docs-reviewers to the docs-content review board
|
||||
# **Why we have it**: To catch docs-reviewers requests in github/github
|
||||
# **What it does**: Adds PRs in github/github and github/audit-log-allowlists that requested a review from docs-reviewers to the docs-content review board
|
||||
# **Why we have it**: To catch docs-reviewers requests in github/github and github/audit-log-allowlists
|
||||
# **Who does it impact**: docs-content maintainers
|
||||
|
||||
on:
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm install @octokit/graphql
|
||||
|
||||
- name: Run script
|
||||
- name: Run script for github
|
||||
run: |
|
||||
node .github/actions-scripts/fr-add-docs-reviewers-requests.js
|
||||
env:
|
||||
@@ -40,3 +40,15 @@ jobs:
|
||||
ORGANIZATION: 'github'
|
||||
REPO: 'github'
|
||||
REVIEWER: 'docs-reviewers'
|
||||
FEATURE: 'OpenAPI schema update'
|
||||
|
||||
- name: Run script for audit-log-allowlists
|
||||
run: |
|
||||
node .github/actions-scripts/fr-add-docs-reviewers-requests.js
|
||||
env:
|
||||
TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
|
||||
PROJECT_NUMBER: 2936
|
||||
ORGANIZATION: 'github'
|
||||
REPO: 'audit-log-allowlists'
|
||||
REVIEWER: 'docs-reviewers'
|
||||
FEATURE: 'Audit log event descriptions'
|
||||
|
||||
Reference in New Issue
Block a user