You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(wiki): restore publication without a submodule - #4
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. Allow the GrumPHP shim installed by current DevTools; other Composer constraints and allowlist entries remain unchanged.
The caller is pinned to a286666dfca2300fffca1ab0d3517b6294ec2c4e, 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.
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: f1058f73-787b-4c3e-95a7-189928d34f98
📥 Commits
Reviewing files that changed from the base of the PR and between 60b70e9 and 54b47d0.
📒 Files selected for processing (4)
.github/wiki
.github/workflows/wiki.yml
.gitmodules
composer.json
💤 Files with no reviewable changes (2)
.github/wiki
.gitmodules
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 wiki publishing automation to run on pushes to the main branch, pull requests, and manual requests.
Adjusted the automation’s publishing permissions and workflow configuration.
Removed the wiki repository integration and allowed an additional Composer plugin. These configuration changes do not alter app features.
The wiki workflow adds pull-request triggers, reduces its permissions, and calls a pinned reusable workflow. The wiki submodule configuration is removed. Composer now allows the phpro/grumphp-shim plugin.
Changes: Wiki workflow
Layer / File(s)
Summary
Wiki workflow and submodule configuration .github/workflows/wiki.yml, .github/wiki, .gitmodules
The workflow runs on pushes to main, pull requests, and manual dispatches. It calls wiki-direct.yml at a pinned commit, requests only contents: write, and removes secrets: inherit. The .github/wiki submodule reference and its .gitmodules entry are removed.
Composer plugin configuration
Layer / File(s)
Summary
Allow Composer plugin composer.json
The Composer plugin allowlist adds phpro/grumphp-shim.
Pull requests generate Wiki content without write access, while publication is limited to main. The publisher’s token path has successfully pushed to a Wiki remote, and no remaining submodule dependency was found; no actionable merge-blocking issue is established.
Pre-merge checks · 5
Passed checks (5 passed)
Check name
Status
Explanation
Title check
The title clearly identifies the main change: restoring Wiki publication without the submodule.
Description check
The description directly explains the workflow replacement, submodule removal, publication permissions, pinned caller, Composer change, and validation results.
Docstring Coverage
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
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.
A rabbit checks the workflow gate, Pull requests now join the queue. A pinned wiki path waits in place, The plugin list admits one more. Then I hop home beneath the moon.
Comment @coderabbitai help to get the list of available commands.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. Allow the GrumPHP shim installed by current DevTools; other Composer constraints and allowlist entries remain unchanged.
The caller is pinned to a286666dfca2300fffca1ab0d3517b6294ec2c4e, 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.