Targets
GitHub
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
| Capability | Required | Granted by (any one) |
|---|---|---|
| Read members | Yes | Members (read) |
| Manage members and teams | Yes | Members (read and write) |
| Field | Type | Required | Description |
|---|---|---|---|
login (Username) | string, up to 39 | Yes | The person’s GitHub username. The account belongs to them. |
member | bool | Whether the person belongs to the organization. | |
role | enum | Role in the organization. Values: member (Member), admin (Owner). | |
teams | grant | Teams the member belongs to. One row grants one team. | |
teams[] | string | Team slug. |
| Account field | Worker field |
|---|---|
login | worker.login |
stage active {
target github.member {
login = lookup(table.github_usernames, worker.business_email)
member = true
role = "member"
teams = ["engineering"]
}
}
stage terminated {
target github.member {
login = lookup(table.github_usernames, worker.business_email)
member = false
teams = []
}
}
Was this page helpful?