{"id":26489101,"url":"https://github.com/whats-a-mattr/wp-github-actions-trigger","last_synced_at":"2026-05-04T10:36:28.603Z","repository":{"id":282130903,"uuid":"947585899","full_name":"Whats-A-MattR/wp-github-actions-trigger","owner":"Whats-A-MattR","description":"A simple WordPress plugin to dispatch GitHub Actions on events in WordPress. Useful for static sites using WordPress as a Headless CMS","archived":false,"fork":false,"pushed_at":"2025-03-13T07:23:41.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T02:13:27.447Z","etag":null,"topics":["action","actions","automation","github","plugin","trigger","wordpress","wp","wp-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whats-A-MattR.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-12T23:33:19.000Z","updated_at":"2025-03-13T07:21:12.000Z","dependencies_parsed_at":"2025-03-13T00:28:22.510Z","dependency_job_id":"c05447a5-8aff-4c19-918e-990932a93231","html_url":"https://github.com/Whats-A-MattR/wp-github-actions-trigger","commit_stats":null,"previous_names":["whats-a-mattr/wp-github-actions-trigger"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whats-A-MattR%2Fwp-github-actions-trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whats-A-MattR%2Fwp-github-actions-trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whats-A-MattR%2Fwp-github-actions-trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whats-A-MattR%2Fwp-github-actions-trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whats-A-MattR","download_url":"https://codeload.github.com/Whats-A-MattR/wp-github-actions-trigger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566946,"owners_count":20473451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","automation","github","plugin","trigger","wordpress","wp","wp-plugin"],"created_at":"2025-03-20T07:19:55.823Z","updated_at":"2026-05-04T10:36:28.598Z","avatar_url":"https://github.com/Whats-A-MattR.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-github-actions-trigger\n\n## What is it?\nA simple WordPress plugin to dispatch GitHub Actions on events in WordPress. Useful for static sites using WordPress as a Headless CMS.\n\n \n## Installation\nSteps may vary between hosting providers\n* Download latest zip\n* Upload to /wp-content/plugins\n* Unzip file\n* Navigate to http://\\\u003cyour website\u003e/wp-admin/plugins.php\n* Locate WP GitHub Actions Trigger\n* Click Activate\n* Configure in the settings blade\n\n## Basic Features\nThis plugin allows for GitHub Actions to be triggered by events in WordPress.\nCurrently, only Publish and Unpublish are supported.\n\n### Use Personal Access Tokens\nConnect to GitHub with a Personal Access Token. **Classic PATs** need the `repo` (or `public_repo`) and **`workflow`** scopes—without `workflow`, triggering workflows returns 403. **Fine-grained PATs** need **Actions: Read and write** on the repository. Works with fine-grained tokens so you can scope to your desired repository.\n\n### Select Repo and Action\nOnce you have connected to GitHub, you will be able to select the repository and action you would like to run. Currently only one action is supported.\n\n### Triggers\nCan be triggered by Publishing or Unpublishing a post. \n\n### Rate Limiting\nRate limits can help prevent excessive GitHub Actions costs. If there were multiple posts published, or unpublished, rather than invoking the select Action for each instance of change we delay invocation until the rate limit has refreshed.\n\nOnce the rate limit has refreshed, there may be N number of updates pending, but this will result in a single invocation and clearing of the 'queue'.\n\nThe queue is checked every hour, and the GitHub Action is run if the rate limit has expired. \n\nA pending invocation can be cleared by visiting the settings page, and clicking Clear Queue\n\n### Force Build\nThis will bypass the rate limit, allowing you to force the running of your GitHub Action\n\n## Gotchas\n\nThe expected behaviour for configuration is this:\n* Enter PAT\n* Click Connect - success! Repositories are queried using PAT\n* GitHub Repository dropdown is now populated with Repos\n* Select Repository - using selected item, workflows are queried\n* Workflow / Action - is now populated with workflows\n* Select Rate Limit or leave as default\n* Save Changes\n\nSometimes, the automatic fetching of workflows fails. To get around this, just save the changes, shortly thereafter the Workflows will be populated. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhats-a-mattr%2Fwp-github-actions-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhats-a-mattr%2Fwp-github-actions-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhats-a-mattr%2Fwp-github-actions-trigger/lists"}