Reusable GitHub Actions workflows for makeitworkcloud repositories.
Call a shared workflow from your repository:
name: OpenTofu
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
pull-requests: write
jobs:
opentofu:
uses: makeitworkcloud/shared-workflows/.github/workflows/opentofu.yml@main
secrets:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}| Workflow | Description |
|---|---|
opentofu.yml |
OpenTofu/Terraform CI/CD with plan comments and apply on merge |
All workflows use ghcr.io/makeitworkcloud/runner:latest.
See images for container source and included tools.
- Add
SOPS_AGE_KEYsecret (via tfroot-github or manually) - Create caller workflow in
.github/workflows/ - Ensure repository has required files (e.g.,
Makefilewith expected targets)