Skip to content

watch event's activity type starred is wrong. The correct activity type is started #27129

@suzuki-shunsuke

Description

@suzuki-shunsuke

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#watch

What part(s) of the article would you like to see updated?

image

watch event's action type starred is wrong. The correct action type is started.
The example code doesn't trigger workflows even if a repository is starred.

Additional information

I created a repository to reproduce the issue.

https://github.com/suzuki-shunsuke/github-docs-27127

I created a pull request to resolve this issue.

The webhook action is not starred but started.

https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#watch

Webhook payload object for watch
Someone started watching the repository.
Webhook request body parameters
Name, Type, Description
action string Required
Value: started

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions