Skip to content

chat.md - typos + more accurate wording #14

chat.md - typos + more accurate wording

chat.md - typos + more accurate wording #14

name: Add persona-labeled issues and PRs to Docs Content Review Board

Check warning on line 1 in .github/workflows/add-persona-labelled-to-review-board.yml

View workflow run for this annotation

GitHub Actions / Add persona-labeled issues and PRs to Docs Content Review Board

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
# When the builder persona or driver persona label is added to an issue or PR
# in github/docs, add it to the Docs Content Review Board project.
on:
issues:
types: [labeled]
pull_request_target:
types: [labeled]
permissions:
contents: read
jobs:
add-to-review-board:
name: Add to Docs Content Review Board
runs-on: ubuntu-latest
if: >-
github.repository == 'github/docs' &&
(github.event.label.name == 'builder persona' || github.event.label.name == 'driver persona')
steps:
- name: Add item to project
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
ITEM_URL: ${{ github.event.issue.html_url || github.event.pull_request.html_url }}
PROJECT_NUMBER: 2936
run: |
echo "Adding $ITEM_URL to project $PROJECT_NUMBER..."
gh project item-add "$PROJECT_NUMBER" --owner github --url "$ITEM_URL"