You will find all reusable actions
and workflows
in their respective
subfolders. Unfortunately, there is no way to distuinguish workflows that only
run on this repository from ones that are intended to run elsewhere via
workflow_call. As such, we have made the decision to prefix workflows that run
on this repository with a .
. Workflows intended to be run as reusable
workflows in other repositories will not be prefixed with .
and additionally
will only have the workflow_call
trigger.
Example:
.github/workflows/want-lgtm-all.yml
- The reusable workflow for checking WANT_LGTM=all..github/workflows/.want-lgtm-all.yml
- The workflow that executes the above workflow in this repository.
Note
We cannot put reusable workflows in any other location. https://github.com/orgs/community/discussions/10773
The one exception to the rule is workflows that will be used as required workflows via organization rulesets. Which are the following workflows:
.github/workflows/lint.yml
- A default linter for every repo.