Skip to content

Repository files navigation

Reusable GitHub Actions for 0merUfuk projects

This repository holds reusable workflows and shared configuration.

Marketing OS release trigger

0merUfuk/.github/.github/workflows/marketing-os-stage.yml is a reusable workflow that stages a marketing approval issue whenever a release is published.

Requirements on the runner

  • Go binary for marketing-os must already be built at {marketing_os_root}/bin/marketing-os.
  • A valid config.yaml must exist at {marketing_os_root}/config.yaml.
  • Environment variables OPENAI_API_KEY and GITHUB_TOKEN must be available to the action.

Usage in a product repo

Create .github/workflows/marketing-os-release.yml:

name: Marketing approval on release

on:
  release:
    types: [published]

jobs:
  stage:
    uses: 0merUfuk/.github/.github/workflows/marketing-os-stage.yml@main
    with:
      marketing_os_root: /Users/omerufuk/repos/marketing-os
    secrets:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

The product_id input defaults to the repository name.

See .github/marketing-os/release-trigger.example.yml for a full example.

About

Reusable GitHub Actions, org-wide health files, and README convention for 0merUfuk projects

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors