-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Labels
Description
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 docsmaintain— accepted by compiler as an alias formaintainer, 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
- pre_activation role check fails for workflow_run events (should use workflow-based trust) #20586 —
pre_activationrole check gap forworkflow_run(similar pattern of a role/trigger not being handled)
Reactions are currently unavailable
Metadata
Metadata
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.