sourcecred / widgets

Other
2 stars 3 forks source link

Add Labels for GitHub action? #26

Open vsoch opened 5 years ago

vsoch commented 5 years ago

We can add labels to the Dockerfile to help provide metadata for the GitHub action, specifically take a look at the example here -> https://developer.github.com/actions/creating-github-actions/creating-a-new-action/#hello-world-action-example

Is this something that there would be interest to do? I'll of course try it first without anything, but I suspect it will be more searchable / discoverable with them.

Beanow commented 5 years ago

I don't have enough background on github actions to make a call on this.

It looks like this is set as a hard requirement for the GitHub Marketplace. https://developer.github.com/marketplace/actions/publishing-an-action-in-the-github-marketplace/ 5. If the LABELs in your Dockerfile contain any problems, you will see an error message.

Is publishing to this marketplace what you meant with the discovery it provides or is there more to the labels?

With regards to labels for discoverability in general, I feel like this hasn't really caught on. For example http://label-schema.org/rc1/ Status: DEPRECATED IN FAVOUR OF OCI IMAGE SPEC It's curious github requires it.

vsoch commented 5 years ago

Definitely curious - and I wasn’t aware it was deprecated (sort of annoying since it’s been implemented multiple places).

Let’s revisit the labels when the action is further developed - based on the kind of coverage we might get having on the Marketplace vs not.