-
Notifications
You must be signed in to change notification settings - Fork 81
Use a Github action to extract the provided WordPress Hooks #1989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
12edb96
to
152c723
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements automated documentation generation for WordPress hooks provided by the ActivityPub plugin using a GitHub Action. The automation will extract hooks from PHP files and update the project's GitHub wiki whenever changes are made to PHP files in the trunk branch.
Key changes:
- Adds automated hook extraction workflow triggered on PHP file changes
- Configures hook extraction with custom filtering and directory exclusions
- Excludes configuration file from distribution builds
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
.github/workflows/extract-wp-hooks.yml |
GitHub Action workflow to automatically extract WordPress hooks and update wiki |
.extract-wp-hooks.json |
Configuration file specifying extraction parameters, ignored filters, and excluded directories |
.distignore |
Adds the hook extraction config file to distribution ignore list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets give it a try 😍
@akirk feel free to merge if you think it is ready to! |
Ok, I'll try! These things are kind of hard to test if they don't show up in Github Actions (yet). |
Proposed changes: