You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,9 @@ Here are all the inputs [repo-file-sync-action](https://github.com/BetaHuhn/repo
106
106
| `GH_INSTALLATION_TOKEN` | Token from a GitHub App installation | **`GH_PAT` or `GH_INSTALLATION_TOKEN` required** | N/A |
107
107
| `CONFIG_PATH` | Path to the sync configuration file | **No** | .github/sync.yml |
108
108
| `PR_LABELS` | Labels which will be added to the pull request. Set to false to turn off | **No** | sync |
109
-
| `ASSIGNEES` | People to assign to the pull request | **No** | N/A |
109
+
| `ASSIGNEES` | Users to assign to the pull request | **No** | N/A |
110
+
| `REVIEWERS` | Users to request a review of the pull request from | **No** | N/A |
111
+
| `TEAM_REVIEWERS` | Teams to request a review of the pull request from | **No** | N/A |
110
112
| `COMMIT_PREFIX` | Prefix for commit message and pull request title | **No** | 🔄 |
111
113
| `COMMIT_BODY` | Commit message body. Will be appended to commit message, separated by two line returns. | **No** | '' |
112
114
| `ORIGINAL_MESSAGE` | Use original commit message instead. Only works if the file(s) were changed and the action was triggered by pushing a single commit. | **No** | false |
@@ -328,6 +330,23 @@ You can tell [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-
328
330
ASSIGNEES: BetaHuhn
329
331
```
330
332
333
+
### Request a PR review
334
+
335
+
You can tell [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) to request a review of the PR from users with `REVIEWERS` and from teams with `TEAM_REVIEWERS`:
336
+
337
+
**.github/workflows/sync.yml**
338
+
339
+
```yml
340
+
- name: Run GitHub File Sync
341
+
uses: BetaHuhn/repo-file-sync-action@v1
342
+
with:
343
+
GH_PAT: ${{ secrets.GH_PAT }}
344
+
REVIEWERS: |
345
+
BetaHuhn
346
+
BetaHuhnBot
347
+
TEAM_REVIEWERS: engineering
348
+
```
349
+
331
350
### Custom GitHub Enterprise Host
332
351
333
352
If your target repository is hosted on a GitHub Enterprise Server you can specify a custom host name like this:
0 commit comments