knative / actions

Apache License 2.0
11 stars 22 forks source link

Enforce reusable GHA naming convention #49

Open krsna-m opened 2 years ago

krsna-m commented 2 years ago

Need a GHA to enforce that anyone adding a reusable GHA should have it prefixed with reusable_ this is needed because of a limitation of GHAs where composite actions can live in their own repo (and that should be enforced as well), but reusable workflows have to live in the same repo as other workflows. This is very confusing for people so this naming convention will help people differentiate between what is a local workflow vs a reusable one.

krsna-m commented 2 years ago

As part of this, I think that it would be good to have a bool input option for all reusable actions to enable them or not. That way we can sync all of them across all repos and allow repos owners to enable/disable each of the reusable workflows via a config.