Skip to content

Automate fontc updates with webhook-based GitHub Actions workflow#8

Merged
anthrotype merged 1 commit into
mainfrom
auto-update-workflow
Nov 24, 2025
Merged

Automate fontc updates with webhook-based GitHub Actions workflow#8
anthrotype merged 1 commit into
mainfrom
auto-update-workflow

Conversation

@anthrotype

Copy link
Copy Markdown
Member
  • Add auto-update workflow triggered by fontc release webhooks
  • Add update script that fetches latest release, updates files, and auto-increments versions
  • Add validation script with Python 3.11 venv testing to verify fontc installation (Glyphs.app's GlyphsPythonPlugin uses Python 3.11)

For this to work automatically when a new fontc is released, I'll also need to also set up a notification workflow in fontc repo (i'll do that shortly once I verify this actually works)

The flow will work like this:

  1. fontc release published -> triggers fontc/.github/workflows/notify-plugin.yml (via release event)
  2. fontc workflow calls GitHub API -> sends repository_dispatch to plugin repo
  3. Plugin repo receives webhook -> triggers
    .github/workflows/auto-update-fontc.yml (via repository_dispatch event)

- Add auto-update workflow triggered by fontc release webhooks
- Add update script that fetches latest release, updates files, and
auto-increments versions
- Add validation script with Python 3.11 venv testing to verify fontc
installation

For this to work automatically as soon as a new fontc is released, I'll also need to also set up a notification workflow in fontc repo.
@anthrotype anthrotype merged commit 40e3897 into main Nov 24, 2025
1 check passed
@anthrotype anthrotype deleted the auto-update-workflow branch November 24, 2025 11:32
anthrotype added a commit to googlefonts/fontc that referenced this pull request Nov 24, 2025
… release

Add a workflow that sends a `repository_dispatch` event to
googlefonts/fontc-export-plugin whenever a new fontc released is
published.

This automatically triggers the latter's auto-update workflow,
which bumps the fontc version and creates an automated PR:
googlefonts/fontc-export-plugin#8

Example (manually triggered):
googlefonts/fontc-export-plugin#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant