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
id-token: write
pull-requests: write
jobs:
opentofu:
uses: makeitworkcloud/shared-workflows/.github/workflows/opentofu.yml@main| 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.
- Grant
id-token: writein the caller workflow so GitHub OIDC can assume the SOPS KMS role. - Ensure the default
aws-role-to-assumeexists (arn:aws:iam::332355796717:role/github-actions-sops-kms) or pass another role ARN. - Create caller workflow in
.github/workflows/. - Ensure repository has required files (e.g.,
Makefilewith expected targets).