Reusable GitHub Actions workflows maintained by @leinardi.
This repo is a small toolbox of opinionated workflows that can be called from other repositories via workflow_call.
Call a workflow from this repo like this:
jobs:
some-job:
uses: leinardi/gh-reusable-workflows/.github/workflows/<workflow>.yaml@v1
with:
# workflow-specific inputs- Use a tag (
@v1,@v1.0.0, …) instead of@mainfor reproducibility. - Filenames without a prefix are intended to be reusable.
- Workflows with a prefix like
local-are internal to this repo (e.g.local-ci.yaml).
simple-tag-and-release.yamlCreate a semantic version tag, GitHub Release, and updatevMAJORandlatesttags.
See the corresponding .md file next to each workflow (for example:
.github/workflows/simple-tag-and-release.md) for details and examples.
Licensed under the MIT License.