Skip to content

Commit 44cf73d

Browse files
authored
Add workflow to triage ready-for-doc-review PRs (#18226)
1 parent 3623ef0 commit 44cf73d

2 files changed

Lines changed: 32 additions & 10 deletions

File tree

.github/ISSUE_COMMENT_TEMPLATE/target-date.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
name: Target Date Update
33
about: Target date update
44
body:
5-
- type: input
6-
attributes:
7-
name: Target completion date
8-
placeholder: With context if the target completion date has changed
9-
inputType: text
10-
- type: input
11-
attributes:
12-
name: 'Attribution'
13-
value: '_created with :heart: by typing_ `/status`'
14-
inputType: text
5+
- type: input
6+
attributes:
7+
name: Target completion date
8+
placeholder: With context if the target completion date has changed
9+
inputType: text
10+
- type: input
11+
attributes:
12+
name: 'Attribution'
13+
value: '_created with :heart: by typing_ `/status`'
14+
inputType: text
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Ready for docs-content review
2+
3+
# **What it does**: Adds pull requests in the docs-internal repository to the docs-content first responder project board
4+
# **Why we have it**: So that other GitHub teams can easily request reviews from the docs-content team, and so that writers can see when a PR is ready for review
5+
# **Who does it impact**: Writers working in the docs-internal repository
6+
7+
on:
8+
pull_request:
9+
types: [labeled]
10+
11+
jobs:
12+
request_doc_review:
13+
name: Request a review from the docs-content team
14+
if: github.event.label.name == 'ready-for-doc-review' && github.repository == 'github/docs-internal'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Add pull request to FR project board
18+
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
19+
with:
20+
action-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
21+
project-url: 'https://github.com/orgs/github/projects/1367'
22+
column-name: 'Docs-internal external contributor PRs'

0 commit comments

Comments
 (0)