Skip to content

fix(wiki): restore publication without a submodule - #4

Merged
coisa merged 2 commits into
mainfrom
codex/wiki-without-submodule
Oct 14, 2026
Merged

coisa merged 2 commits into
mainfrom
codex/wiki-without-submodule

Conversation

@coisa

@coisa coisa commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

The current Wiki workflow fails before executing any jobs: its old entry point no longer supports workflow_call. Adopt the direct-publication workflow derived from php-fast-forward/container#15 and shared in php-fast-forward/dev-tools#366.

Generate API Markdown with read-only credentials on PRs; only main can publish through an isolated checkout of the separate Wiki repository. Remove the .github/wiki gitlink and its matching .gitmodules entry, preserving the remote Wiki/history. The renderer is installed separately; consumer Composer constraints, lock files and plugin allowlists remain unchanged.

The caller is pinned to c44339acd9b09b1a7f2249cceb8928e5e93cf42b, the reviewed implementation commit of dev-tools#366. This makes the generation checks executable before that shared PR merges; merge the shared change first so normal dev-tools:sync also stops invoking wiki --init.

Validation: Composer validate --strict --no-plugins, actionlint and git diff --check passed. The shared actual publisher passed 54 offline assertions and DevTools passed 717 tests / 2,201 assertions with 91.83% coverage. GitHub checks exercise this repository's real Markdown generation. Publication is main-only and remains to be verified after merge.

Follow-up: use the isolated pinned renderer, with no Composer manifest changes in this PR. The shared release flow now skips legacy pointer refresh when the Wiki gitlink is absent.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T19:14:58.857124Z f436715 Manual request
🔒 Security Review ✅ Completed 2026-10-14T19:15:15.595681Z f436715 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 6287eedb-7026-4cd8-852f-af76d03a7ff1
📥 Commits

Reviewing files that changed from the base of the PR and between f2cf1c2 and f436715.

📒 Files selected for processing: 1
  • .github/workflows/wiki.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the automated wiki publishing workflow. Wiki updates continue to be handled through the project’s publishing process.

The wiki workflow now runs on pull requests and calls a pinned reusable workflow. The .github/wiki submodule reference and its .gitmodules configuration are removed.

Changes: Wiki workflow

Layer / File(s) Summary
Wiki workflow update
.github/workflows/wiki.yml, .github/wiki, .gitmodules
The workflow adds a pull request trigger and calls a pinned reusable workflow. It removes inherited secrets and the pages and id-token write permissions; contents: write remains. The .github/wiki submodule reference and its configuration are removed.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to f4367

Pull-request generation remains read-only, and only main can publish the Wiki. The pinned workflow preserves those safeguards, and the submodule removal matches the migration; no actionable merge risk remains.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly identifies the main change: restoring Wiki publication without the submodule.
Description check Passed The description directly explains the workflow replacement, submodule removal, publication behavior, pinning, and validation results.
✨ Finishing Touches: 💡 1
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the workflow’s trail,
A pinned call follows without fail.
Pull requests now join the flow,
The wiki submodule lets go.
Two permissions leave the page,
And contents: write stays in place.

Comment @coderabbitai help to get the list of available commands.

@coisa

coisa commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: f436715e1f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: f436715e1f

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@coisa
coisa merged commit f1c1025 into main Oct 14, 2026
24 of 25 checks passed
@coisa
coisa deleted the codex/wiki-without-submodule branch October 14, 2026 19:37
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