chore(docs): clarify how to refer to GH teams (#57679)

This commit is contained in:
Giuseppe Crinò 2022-11-07 11:39:59 +01:00 committed by GitHub
parent 30fae33f66
commit b40f192c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ if you have a team called 'example-group' you can use the following snippet to
ensure those members inherit the role 'Editor'.
```bash
role_attribute_path = contains(groups[*], '@github/example-group') && 'Editor' || 'Viewer'
role_attribute_path = contains(groups[*], '@my-github-organization/my-github-team') && 'Editor' || 'Viewer'
```
Note: If a match is found in other fields, teams will be ignored.