Skip to content

makeitworkcloud/shared-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shared-workflows

Reusable GitHub Actions workflows for makeitworkcloud repositories.

Usage

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

Available Workflows

Workflow Description
opentofu.yml OpenTofu/Terraform CI/CD with plan comments and apply on merge

Container

All workflows use ghcr.io/makeitworkcloud/runner:latest.

See images for container source and included tools.

Repository Setup

  1. Grant id-token: write in the caller workflow so GitHub OIDC can assume the SOPS KMS role.
  2. Ensure the default aws-role-to-assume exists (arn:aws:iam::332355796717:role/github-actions-sops-kms) or pass another role ARN.
  3. Create caller workflow in .github/workflows/.
  4. Ensure repository has required files (e.g., Makefile with expected targets).

About

Reusable GitHub Actions workflows for makeitworkcloud repositories.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors