A collection of workflows I use in my repos
- Make sure reusable repos are enabled in your repository:
REPO/settings/actions-> Actions permissions - Create a new workflow: you can either use one from the
dependentsdirectory in this repo or create your own
# .github/workflows/NAME.yml
name: Your reused workflow
on:
# ...
jobs:
workflow:
# This is the path to the workflow file you want to re-use
uses: EndBug/workflows/.github/workflows/FILE.yml@main
with:
# ...All workflow files are in the .github/workflows directory of this repo.
For more info regarding reusable workflows, see GitHub's docs.