Pull request activity type missing `(de)milestoned`
flying-sheep opened this issue · 0 comments
Describe the bug
Valid pull request event types include milestoned
and demilestoned
(like issue event types), but the schema doesn’t show them:
languageservices/workflow-parser/src/workflow-v1.0.json
Lines 821 to 841 in 4ddbbc9
To Reproduce
Steps to reproduce the behavior:
- Try to validate your valid workflow (it runs as expected when adding or removing a milestone)
- see validation errors for the
milestoned
anddemilestoned
event
Expected behavior
milestoned
and demilestoned
are accepted as valid
Package/Area
- Expressions
- Workflow Parser
- Language Service
- Language Server
Package Version
v0.3.6
Additional context
The GitHub docs are also inconsistent here: The webhook docs list those event types but the workflow syntax docs don’t.
A said: It’s definitely valid. Using the event types works, part of the docs mention the event types, and clearly adding milestones to a PR is something you can do both with the API and the web UI.