https://github.com/endbug/workflows
A collection of workflows I use in my repos
https://github.com/endbug/workflows
Last synced: about 1 year ago
JSON representation
A collection of workflows I use in my repos
- Host: GitHub
- URL: https://github.com/endbug/workflows
- Owner: EndBug
- License: mit
- Created: 2022-08-29T22:42:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T09:43:08.000Z (about 3 years ago)
- Last Synced: 2025-02-09T21:31:46.307Z (about 1 year ago)
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# workflows
_A collection of workflows I use in my repos_
## Usage
1. Make sure reusable repos are enabled in your repository: `REPO/settings/actions` -> Actions permissions
2. Create a new workflow: you can either use one from the `dependents` directory in this repo or create your own
```yml
# .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`](https://github.com/EndBug/workflows/tree/main/.github/workflows) directory of this repo.
For more info regarding reusable workflows, see [GitHub's docs](https://docs.github.com/en/actions/using-workflows/reusing-workflows).