Makes ready-for-doc-review workflow reusable (#45368)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
This commit is contained in:
4
.github/workflows/ready-for-doc-review.yml
vendored
4
.github/workflows/ready-for-doc-review.yml
vendored
@@ -16,12 +16,14 @@ jobs:
|
||||
request_doc_review:
|
||||
name: Request a review from the docs-content team
|
||||
if: >-
|
||||
github.repository == 'github/docs-internal' &&
|
||||
github.repository_owner == 'github' && github.repository != 'github/docs' &&
|
||||
(github.event.label.name == 'ready-for-doc-review' || github.event.requested_team.name == 'docs-content')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo content
|
||||
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
|
||||
with:
|
||||
repository: github/docs-internal
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
||||
|
||||
Reference in New Issue
Block a user