Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Summarize commits & send client email

Turn recent commits into polished client-facing update emails automatically.

This action uses OpenAI to summarize commit activity and generate an HTML email you can send to clients via SMTP.

Features

  • Summarizes recent commit messages with OpenAI
  • Rewrites technical changes into client-friendly language
  • Generates HTML email output
  • Works with reusable workflows across many client repos

Inputs

NameRequiredDefaultDescription
openai-modelNogpt-5.4-miniOpenAI model used to generate the summary
site-labelNo""Optional site or client label

Outputs

NameDescription
email_bodyGenerated HTML email body
skip_emailtrue when email sending should be skipped

Required secrets

  • OPENAI_API_KEY
  • SMTP_USERNAME
  • SMTP_PASSWORD
  • CLIENT_EMAIL

Reusable workflow usage

name: Commit Email Summaryon:
push:
branches: [main, master]jobs:
email_summary:
uses: Serbyte-Development/actions/.github/workflows/send_commit_email.yaml@v1with:
openai_model: gpt-5.4-minisite_label: "Acme Dental"secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}SMTP_USERNAME: ${{ secrets.SMTP_USERNAME }}SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}CLIENT_EMAIL: ${{ secrets.CLIENT_EMAIL }}

Direct action usage

name: Send Client Updateon:
push:
branches: [main, master]jobs:
send_update:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v4
- name: Generate summaryid: summarizeuses: Serbyte-Development/actions@v1with:
openai-model: gpt-5.4-minisite-label: Acme Dentalenv:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

Notes

  • Reusable workflow inputs use underscores: site_label, openai_model
  • Direct action inputs should use hyphens: site-label, openai-model
  • The direct action also accepts underscore aliases for backward compatibility
  • Add a skip token such as <skip_email> to any commit message to skip the email for that push

License

MIT

Built by Serbyte Development

About

Reusable GitHub Action for turning commit messages into client email updates with OpenAI and SMTP.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages