pretty.yml

Prettyfy workflow for most of my repos

During the summer I worked with an intern on migrating our repos from the private GitLab instance and my personal GitHub space to the PSC organization GitHub account. The idea was to publicly share our Dockerfiles and Singularity definition files for security and for those members in the community who might find them useful.

We were successful -at least based on my expectations- at doing so. We spent a considerable amount of time finding patterns, no matter how small, that would help us save time and tentatively automate process.

Some of these patterns were dumped into pretty.yml. This YAML is nothing but a workflow for GitHub Actions that monitors the existence of very specific files in the repo. If this files are found then we would label the repo as ready for publishing.

A working example of this workflow can be found here.

via GIPHY

I honestly don’t know if this is considered a best practice in general, but it seems like so to me since we ended up saving so much time.