scan-action icon indicating copy to clipboard operation
scan-action copied to clipboard

Action is not available as an example workflow

Open alfredodeza opened this issue 2 years ago • 6 comments

Hi!

Working on some demos today I found out that this action doesn't show up as a sample workflow in a GitHub project 😢

Having it as a sample workflow is great because:

  • Creates visibility
  • Makes it easy to "install" the action in a project

It was super surprising to see some other company (!) provide an action that uses scan-action itself for scanning

Screen Shot 2022-03-07 at 2 11 34 PM

alfredodeza avatar Mar 07 '22 19:03 alfredodeza

Some extra context... the action does look like it is in the marketplace, it just doesn't show as a workflow. This is super odd :/ ~Not sure what extra steps are needed here to show up right in that menu where you can add workflows on the fly~

There is a public repository that hosts sample workflows and someone else added the scan-action one

alfredodeza avatar Mar 07 '22 19:03 alfredodeza

Thanks @alfredodeza! @kzantow can you look into this when you get a chance?

luhring avatar Mar 25 '22 13:03 luhring

https://github.com/actions/starter-workflows/pull/1630 <-- this has been added as a PR for scan action to be added as a starter workflow

spiffcs avatar Jul 08 '22 18:07 spiffcs

Note: that starter workflow is for the sbom-action

kzantow avatar Jul 11 '22 19:07 kzantow

And actually the description shows that there is a starter workflow, however we should use this issue to track updating the name and organization

kzantow avatar Jul 11 '22 19:07 kzantow

@alfredodeza , hopefully this short DEV.to post could help you.

adriens avatar Jul 11 '22 20:07 adriens

The workflow referenced here actually is a scan-action workflow, however, it was one of the first GitHub actions and as such has an incorrect author for reasons unknown. I've submitted an updated workflow here: https://github.com/actions/starter-workflows/pull/1697

kzantow avatar Aug 24 '22 18:08 kzantow

This has been merged! https://github.com/anchore/scan-action/actions/new?category=none&query=anchore

kzantow avatar Sep 27 '22 12:09 kzantow