Skip to content

feat(docs): seed .env.example + add release-sync workflow (#101)#106

Merged
bigpuritz merged 1 commit into
mainfrom
feat/101-sync-env-example
May 13, 2026
Merged

feat(docs): seed .env.example + add release-sync workflow (#101)#106
bigpuritz merged 1 commit into
mainfrom
feat/101-sync-env-example

Conversation

@bigpuritz
Copy link
Copy Markdown
Contributor

Summary

  • Initial copy of .env.example from plugwerk/plugwerk@main into public/config/env.example so the file is visible on the website immediately, without waiting for the next release.
  • New .github/workflows/sync-env-example.yml workflow listening for the env-example-update repository_dispatch event (mirrors sync-openapi.yml / sync-docker-compose.yml). Future releases that touch .env.example will refresh this file via PR automatically.
  • Companion change in ci: dispatch .env.example to website on release (#526) plugwerk#527 adds the dispatch step on the producing side. Either side can be merged first — the dispatch is fire-and-forget.

Test plan

  • Workflow YAML structure mirrors sync-openapi.yml exactly (same SHA-pinned actions, same gh api pattern, same peter-evans/create-pull-request configuration).
  • After merge: trigger gh workflow run sync-env-example.yml --field version=<latest-tag> to confirm the workflow runs and produces a no-op pull-request-operation = none (initial seed equals fetched content).
  • After merge: bump .env.example in plugwerk/plugwerk and tag a release; expect a chore: sync .env.example from plugwerk <version> PR to open here.

Out of scope

Refs #101

Initial drop of `public/config/env.example` copied from
plugwerk/plugwerk main and a `sync-env-example.yml` workflow that
mirrors `sync-openapi.yml` / `sync-docker-compose.yml` so future
releases refresh the file via the new `env-example-update` dispatch
fired from plugwerk/plugwerk#527.

Issue: #101
@bigpuritz bigpuritz merged commit 2fbf599 into main May 13, 2026
1 check passed
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