openshift-helm-charts / development

0 stars 17 forks source link

Add contributor check gate #308

Closed komish closed 8 months ago

komish commented 8 months ago

Borrows from our existing user check scripts to generate a smaller script that we can throw into various workflows as needed.

Some of our workflows fail for certification attempts even though they aren't associated with certification. In this cases, it makes sense to avoid having them run, but we still need them to run on pull requests. This PR introduces a workflow that gates those PRs so they don't run if the user isn't a repository owner. This gives the green check for partners/chart contributors (because the dependent workflow skips), but still allows us to use these workflows for their original use cases.