Post

GitHub Actions - Reusable Workflows

I followed the documentation (https://docs.github.com/en/actions/using-workflows/reusing-workflows) to create workflows that can be reused by other workflows.

My difficulty in following the docs was keeping the 2 sides (consumer and producer) in my head while following along the numbered steps.

I found myself drawing the consumer and producer side-by-side, and the numbered steps that I need to do on each.

After that, it became easier to write and test my reusable workflows.

GH-Actions-ReusableWorkflows.png

This post is licensed under CC BY 4.0 by the author.