Skip to content

Commit 75e9d27

Browse files
authored
make workflow shareable accross repos. (#1304)
1 parent 1a0841a commit 75e9d27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/require-reviewers.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PRs requirements
1+
name: PR requirements
22
on:
33
pull_request:
44
types:
@@ -9,6 +9,9 @@ on:
99
- review_request_removed
1010
- auto_merge_enabled
1111

12+
# Allow calling sharing this workflow with other repositories.
13+
workflow_call:
14+
1215
jobs:
1316
require-reviewer:
1417
runs-on: nscloud

0 commit comments

Comments
 (0)