Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
From https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#registry_package
For example, you can run a workflow when a package has been
published
.
could be updated to something more descriptive, such as:
For example, you can run a workflow when a new package version has been
published
.
It would also be helpful to further elaborate how the action types are triggered here:
What part(s) of the article would you like to see updated?
Given the description for action
types of a registry_package
event:
And the following example:
I would've expected published
to act as a trigger for a new npm registry package being created. The use case being running a script only once in a package monorepo for any newly created package.
Instead, the published
action is dispatched whenever a new version of a package is published, which includes the behavior I would've expected for updated
.
At this time I haven't been able to trigger updated
actions to understand what differentiates it or what scenarios it supports. Perhaps another section of the docs that could be expanded.
Additional information
No response