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
It is possible to provide an `include` or `exclude` settings to restrict the `collaborators`, `teams`, `labels` to a list of repos or exclude a set of repos for a collaborator.
292
+
> [!important]
293
+
> It is possible to provide an `include` or `exclude` settings to restrict the `collaborators`, `teams`, `labels` to a list of repos or exclude a set of repos for a collaborator.
294
+
> The include/exclude pattern can also be for glob. For e.g.:
295
+
```
296
+
teams:
297
+
- name: Myteam-admins
298
+
permission: admin
299
+
- name: Myteam-developers
300
+
permission: push
301
+
- name: Other-team
302
+
permission: push
303
+
include:
304
+
- '*-config'
305
+
```
306
+
> Will only add `Other-team` to only `*-config` repos
293
307
294
308
See [`docs/sample-settings/settings.yml`](docs/sample-settings/settings.yml) for a sample settings file.
295
309
@@ -367,7 +381,7 @@ You can pass environment variables; the easiest way to do it is via a `.env` fil
367
381
368
382
## How to use
369
383
370
-
1. Create an `admin` repo (or an alternative of your choosing) within your organization. Remember to set `CONFIG_REPO` if you choose something other than `admin`. See [Environment variables](#environment-variables) for more details.
384
+
1. Create an `admin` repo (or an alternative of your choosing) within your organization. Remember to set `ADMIN_REPO` if you choose something other than `admin`. See [Environment variables](#environment-variables) for more details.
371
385
372
386
2. Add the settings for the `org`, `suborgs`, and `repos`. Sample files can be found [here](docs/sample-settings).
robot.log.debug(`"env.BLOCK_REPO_RENAME_BY_HUMAN" is 'false' by default. Repo rename is not managed by Safe-settings. Continue with the default behavior.`)
394
+
if(env.BLOCK_REPO_RENAME_BY_HUMAN!=='true'){
395
+
robot.log.debug('"env.BLOCK_REPO_RENAME_BY_HUMAN" is \'false\' by default. Repo rename is not managed by Safe-settings. Continue with the default behavior.')
0 commit comments