vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Name role capabilities consistently
cc5123a549d8d0991e74a88fff8208b5071d1192 · Keenan Nemetz · 1d ago · parent 648cd81b
docs/reference/workflow-reference.md +7−7
| @@ -252,7 +252,7 @@ on: | |||
| 252 | 252 | replied-to: [coding-agent] | |
| 253 | 253 | author: | |
| 254 | 254 | name: [keenan] | |
| 255 | role: maintain | ||
| 255 | role: maintainer | ||
| 256 | 256 | ``` | |
| 257 | 257 | ||
| 258 | 258 | | Field | Availability | Meaning | | |
| @@ -283,8 +283,8 @@ an account or answers an account, so a workflow that should run for either can | |||
| 283 | 283 | declare both. A comment is never treated as addressed to its own author, which | |
| 284 | 284 | keeps an agent's reply from waking itself. | |
| 285 | 285 | ||
| 286 | `author.role` is the ACL filter. Its value is one role — `read`, `contribute`, | ||
| 287 | `runner`, `maintain`, or `admin` — and it means "at least this role" for the | ||
| 286 | `author.role` is the ACL filter. Its value is one role — `reader`, `contributor`, | ||
| 287 | `runner`, `maintainer`, or `admin` — and it means "at least this role" for the | ||
| 288 | 288 | effective repository role of the account that caused the event. A `runner` filter | |
| 289 | 289 | admits runners, maintainers, and admins and refuses contributors and readers. | |
| 290 | 290 | `none` is rejected because it would filter nothing. Use it when the rule is a | |
| @@ -296,7 +296,7 @@ on: | |||
| 296 | 296 | types: [created] | |
| 297 | 297 | mentioned: [coding-agent] | |
| 298 | 298 | author: | |
| 299 | role: maintain | ||
| 299 | role: maintainer | ||
| 300 | 300 | ``` | |
| 301 | 301 | ||
| 302 | 302 | The role is resolved when the event is queued, from the repository's access rules | |
| @@ -306,8 +306,8 @@ change a run that is already queued. | |||
| 306 | 306 | `author.role` is a policy gate on the recorded sender, not a substitute for | |
| 307 | 307 | authentication. Contributors reach the metadata branch through the browser, which | |
| 308 | 308 | records their session account, and writing that branch directly already requires | |
| 309 | maintain. An above-maintain role is therefore not protection against a malicious | ||
| 310 | maintainer with direct push access. | ||
| 309 | the `maintainer` role. A role above `maintainer` is therefore not protection | ||
| 310 | against a malicious maintainer with direct push access. | ||
| 311 | 311 | ||
| 312 | 312 | The mention syntax is `@name`. Mentions inside inline code or a fenced code block | |
| 313 | 313 | are ignored, as is the `@` in an email address or a URL. A body contributes at | |
| @@ -725,7 +725,7 @@ inherits the account's role, so nothing here grants more than that account may d | |||
| 725 | 725 | ||
| 726 | 726 | Two things change, and only two: | |
| 727 | 727 | ||
| 728 | - writing to the issues branch no longer requires `maintain`. What a job may write | ||
| 728 | - writing to the issues branch no longer requires `maintainer`. What a job may write | ||
| 729 | 729 | there is what its account may do, asked the same way the browser asks: an account | |
| 730 | 730 | that may discuss files an issue and comments, an author manages the item it wrote, | |
| 731 | 731 | a maintainer triages any of them, and an account that may approve may approve. The | |