The directory .github/workflows contains the centralized workflows.
The directory workflow-templates contains templates for some general CI/CD workflows.
The front-end ui- and stripes- repositories are currently being migrated to the centralized "UI" workflows.
The back-end Maven-based repositories are currently being migrated to the centralized "Maven" workflows FOLIO-4443.
Workflows for Go-based back-end repositories are implemented for mod-reporting.
Centralized workflows are still to be developed to replace the old API workflow templates.
Refer to the various types of centralized workflows, including their setup and configuration:
- README-UI.md -- for the front-end repositories.
- README-docker.md -- for repositories that only have a Dockerfile.
- README-go.md and README-go-lint.md -- for Go-based back-end repositories.
- README-maven.md -- for Maven-based back-end repositories.
Install actionlint.
While developing Workflows run actionlint prior to each commit. It is very helpful for identifying syntax and mis-configuration problems, which are otherwise difficult to diagnose.
actionlint *.yml
It includes "shellcheck".
If there is a false positive disable it at the line level. Avoid diabling it at the file or run level because we want linting for future file changes.
For details see ShellCheck Ignore.
There is an automated workflow that will run actionlint on pull-requests.