Skip to content

Commit

Permalink
Merge pull request #124 from yafanasiev/docs-update-permissions
Browse files Browse the repository at this point in the history
docs: add note regarding nested teams
  • Loading branch information
peter-evans committed Sep 14, 2021
2 parents 39f5919 + 188e73b commit 4f89992
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -120,6 +120,8 @@ Setting `write` as the required permission level means that any user with `write
Note that `read`, `triage` and `maintain` are only applicable to organization repositories.
For repositories owned by a user account there are only two permission levels, the repository owner (`admin`) and collaborators (`write`).

Permission validation will fail if you use organization's nested teams. In this case GitHub's GraphQL API will not return permission level for user. This is a known limitation of GraphQL API.

#### `dispatch-type`

By default, the action creates [repository_dispatch](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch) events.
Expand Down

0 comments on commit 4f89992

Please sign in to comment.