rajbos / actions-marketplace

Host a GitHub Actions Marketplace in your own organization
https://devopsjournal.io/actions-marketplace/
MIT License
25 stars 18 forks source link

Store the used actions files in the repo so we can use it in the webpage #18

Closed rajbos closed 3 years ago

rajbos commented 3 years ago

We want to use the information from the used actions in the marketplace page (as an indicator how many times the workflow is used). To do that we need the file in the repo on the same branch as the normal actions.json location.

Currently the file is only stored as an artefact from the workflow file.

rajbos commented 3 years ago

We do that by uploading the json into the repository using another action, see here:

https://github.com/rajbos/actions-marketplace/blob/d73bb1bd5dd17922f768b8b6e582d3369ea6ac01/.github/workflows/get-action-data.yml#L41