How bretfisher/github-actions-templates works
This repository provides GitHub Actions workflow templates rather than a standalone application. The main workflow is that a repository maintainer copies a calling template into a project, where it invokes a reusable workflow for linting, image building, or scanning. The advanced promotion template also invokes a build workflow and uses the GitOps reusable workflow to open a deployment PR. Relationships below are based on the README; workflow source excerpts were not available, so internal call details are limited to what it documents.
Main entry points: call-docker-build-promotion.yaml Build promotion template · call-docker-build.yaml Docker build template · call-grype-scan-image.yaml Grype scan template · call-super-linter.yaml Super-Linter template
Components 12
Calling templates
- Docker build template
templates/call-docker-build.yaml - Build promotion template
templates/call-docker-build-promotion.yaml - Grype scan template
templates/call-grype-scan-image.yaml - Super-Linter template
templates/call-super-linter.yaml
Reusable workflows
- GitOps PR workflow
.github/workflows/reusable-gitops-pr.yaml - Grype scan workflow
.github/workflows/reusable-grype-scan-image.yaml
External integrations
- Docker build workflow
- Super-Linter workflow
- Grype scan action
- GitHub repositories
- Kubernetes cluster
Other components
- Repository maintainer
Connections 12
- Repository maintainer → Docker build template: copies template
README.md - Repository maintainer → Build promotion template: copies template
README.md - Repository maintainer → Grype scan template: copies template
README.md - Repository maintainer → Super-Linter template: copies template
README.md - Docker build template → Docker build workflow: calls build
README.md - Build promotion template → Docker build workflow: calls build
README.md - Build promotion template → GitOps PR workflow: creates deployment PR
README.md - Grype scan template → Grype scan workflow: calls scan
README.md - Super-Linter template → Super-Linter workflow: calls linter
README.md - Grype scan workflow → Grype scan action: runs scan
README.md - GitOps PR workflow → GitHub repositories: opens PR
README.md - GitHub repositories → Kubernetes cluster: deploys image