1
0
mirror of synced 2026-01-06 15:01:04 -05:00

Update automation to add audit log PRs to the review board (#42657)

Co-authored-by: skedwards88 <skedwards88@github.com>
This commit is contained in:
Laura Coursen
2023-09-20 15:51:14 -05:00
committed by GitHub
parent dc3a0739c9
commit 11739f4827
2 changed files with 16 additions and 4 deletions

View File

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