Skip to content

[wiki] Fix branch-protection publishing flow (#48)#49

Merged
coisa merged 2 commits intomainfrom
codex/48-wiki-branch-protection-flow
Apr 17, 2026
Merged

[wiki] Fix branch-protection publishing flow (#48)#49
coisa merged 2 commits intomainfrom
codex/48-wiki-branch-protection-flow

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 17, 2026

Summary

Adopts the branch-protection-friendly wiki publishing flow for issue #48. Pull request updates now generate a PR-scoped wiki branch and commit the wiki submodule pointer back to the PR branch, while merged PRs targeting main publish the PR wiki branch into the wiki main branch.

Changes

  • Split .github/workflows/wiki.yml into PR preview and merged-PR publish jobs.
  • Updated .github/wiki to the generated wiki preview commit already present in this checkout.
  • Updated resources/github-actions/wiki.yml so consumer stubs call the reusable workflow on PR preview and merged-PR publish events instead of only pushing from main.

Testing

  • git diff --check passed.
  • ruby -e 'require "yaml"; %w[.github/workflows/wiki.yml resources/github-actions/wiki.yml].each { |file| YAML.load_file(file) }; puts "YAML OK"' passed.
  • Commit hooks passed: GrumPHP composer_script, composer, phplint, jsonlint, and yamllint.
  • composer dev-tools could not complete because the current lock/vendor state is missing twig/twig: Composer reports that twig/twig is required by composer.json but is not present in composer.lock.

Closes #48

@github-actions github-actions Bot added the bug Something isn't working label Apr 17, 2026
Comment thread .github/workflows/wiki.yml Dismissed
@coisa coisa merged commit e3f3913 into main Apr 17, 2026
2 checks passed
@coisa coisa deleted the codex/48-wiki-branch-protection-flow branch April 17, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Fix wiki workflow branch-protection publishing flow

2 participants