Repository navigation
Add docs-reviewers request to the docs-content review board #6762
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Add docs-reviewers request to the docs-content review board | |
| # Catches audit-log-allowlists docs-reviewers requests that the regular board misses. | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '20 16 * * 1-5' # Weekdays at 16:20 UTC. | |
| permissions: | |
| contents: read | |
| jobs: | |
| add-requests-to-board: | |
| name: Add requests to board | |
| if: ${{ github.repository == 'github/docs-internal' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repo content | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up Node and dependencies | |
| uses: ./.github/actions/node-npm-setup | |
| - name: Run script for audit-log-allowlists | |
| run: | | |
| npm run fr-add-docs-reviewers-requests | |
| env: | |
| TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }} | |
| PROJECT_NUMBER: 2936 | |
| ORGANIZATION: 'github' | |
| REPO: 'audit-log-allowlists' | |
| REVIEWER: 'docs-reviewers' | |
| FEATURE: 'Audit log event descriptions' | |
| - uses: ./.github/actions/create-workflow-failure-issue | |
| id: create-failure-issue | |
| if: ${{ failure() && github.event_name != 'workflow_dispatch' }} | |
| with: | |
| token: ${{ secrets.DOCS_BOT_PAT_BASE }} | |
| - uses: ./.github/actions/slack-alert | |
| if: ${{ failure() && github.event_name != 'workflow_dispatch' }} | |
| with: | |
| slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} | |
| issue_url: ${{ steps.create-failure-issue.outputs.issue_url }} |