event conditional on watchlist of repository package dependencies #26926
-
Can I set a github action to be triggered based on a watchlist of repositories releases or changes to a subset of their branches (defaulting to only master)? For example if my (R package) repository is dependent on 3 other repositories I would want to have my workflow be triggered when those repositories have an event on the master or some defined subset of branches. One way to achieve this would be to have a list of repositories in the workflow event field. this would be an example of how the event could be defined:
This would also get around a problem that “repository dispatch” has which you must have the right permissions to trigger that event. With observe you would be passively triggering events instead of using an inefficient chron scheduling that can be used as a very blunt solution. thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @yonicd , It’s not supported to trigger a workflow based on a watchlist of repositories releases or changes. Most of the events works in self repository scope, only ‘repository_dispatch’ is ‘external’ event which can trigger another repository. Thanks. |
Beta Was this translation helpful? Give feedback.
-
How is this marked as a solution? What did this answer solve? Is there another forum for feature requests for github actions? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @yonicd , Look it’s marked by another guy… As i mentioned, it’s not supported to trigger a workflow based on a watchlist of repositories releases or changes. You can raise a feature_request ticket here and discuss with developing team. Thanks. |
Beta Was this translation helpful? Give feedback.
-
I posted it to the link you supplied. Thanks. |
Beta Was this translation helpful? Give feedback.
Hi @yonicd ,
It’s not supported to trigger a workflow based on a watchlist of repositories releases or changes.
Most of the events works in self repository scope, only ‘repository_dispatch’ is ‘external’ event which can trigger another repository.
Thanks.