Summary
The frontmatter reference lists read as an available role, but the compiler rejects it. Is read role support planned, or should the docs be updated to remove it?
Details
The docs list read as available in two places:
Line 244 (on.roles:): Available roles: admin, maintainer, write, read, all
Line 292 (skip-roles:): Available roles: admin, maintainer, write, read
The compiler (v0.62.2) rejects it:
on:
workflow_dispatch:
roles: [read]
error: 'on' (line 4, col 4): '0': value must be one of 'admin', 'maintainer', 'maintain', 'write', 'triage'
There are also a couple of other mismatches between docs and compiler:
triage — accepted by compiler, not listed in docs
maintain — accepted by compiler as an alias for maintainer, not listed in docs
Is there a plan to add read to the compiler (matching the docs), or should the docs be corrected to reflect the current compiler behavior?
Related
Summary
The frontmatter reference lists
readas an available role, but the compiler rejects it. Isreadrole support planned, or should the docs be updated to remove it?Details
The docs list
readas available in two places:The compiler (v0.62.2) rejects it:
There are also a couple of other mismatches between docs and compiler:
triage— accepted by compiler, not listed in docsmaintain— accepted by compiler as an alias formaintainer, not listed in docsIs there a plan to add
readto the compiler (matching the docs), or should the docs be corrected to reflect the current compiler behavior?Related
pre_activationrole check gap forworkflow_run(similar pattern of a role/trigger not being handled)