{"id":20201093,"url":"https://github.com/ahmadbilaldev/github-actions-wordpress","last_synced_at":"2025-07-29T01:08:21.970Z","repository":{"id":124977607,"uuid":"210342113","full_name":"ahmadbilaldev/GitHub-Actions-WordPress","owner":"ahmadbilaldev","description":"Some must-have GitHub Actions for WordPress development and how to use them, as demonstrated in my WordSesh talk. ","archived":false,"fork":false,"pushed_at":"2020-03-25T01:06:50.000Z","size":11,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T11:38:48.157Z","etag":null,"topics":["github-actions","secrets","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmadbilaldev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-09-23T11:49:53.000Z","updated_at":"2023-03-09T04:09:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"380e4213-8fa8-4787-85d1-10bb32adf422","html_url":"https://github.com/ahmadbilaldev/GitHub-Actions-WordPress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahmadbilaldev/GitHub-Actions-WordPress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadbilaldev%2FGitHub-Actions-WordPress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadbilaldev%2FGitHub-Actions-WordPress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadbilaldev%2FGitHub-Actions-WordPress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadbilaldev%2FGitHub-Actions-WordPress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadbilaldev","download_url":"https://codeload.github.com/ahmadbilaldev/GitHub-Actions-WordPress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadbilaldev%2FGitHub-Actions-WordPress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267613406,"owners_count":24115621,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github-actions","secrets","wordpress","wordpress-plugin"],"created_at":"2024-11-14T04:47:34.127Z","updated_at":"2025-07-29T01:08:21.962Z","avatar_url":"https://github.com/ahmadbilaldev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for WordPress\n\nGitHub actions for WordPress by different authors, and how to use them. Watch my talk on [WordSesh](https://WordSesh.com).\n\n## [WordPress.org Plugin Deploy by **10up**](https://github.com/marketplace/actions/wordpress-plugin-deploy)\n\nThis action is triggered whenever a Git tag is released in your GitHub repository.\nIt automates the deployment of all the contents in the tag to the WordPress.org SVN repository.\n\n### Triggers\nWhenever a new tag is published.\n\n### Usage\n\n1. Inside your plugin repository on GitHub, create a `.github/workflows/deploy.yml` file.\n\n2. Use this code:\n\n``` bash\nname: Deploy to WordPress.org\non:\n    push:\n        tags:\n            - '*'\njobs:\n    tag:\n        name: WordPress.org Release\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@master\n            - name: WordPress Plugin Deploy\n              uses: 10up/actions-wordpress/dotorg-plugin-deploy@master\n              env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n                  SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}\n                  SVN_USERNAME: ${{ secrets.SVN_USERNAME }}\n                  SLUG: your-plugin-slug\n```\n\n3. If your GitHub repository slug is not same as the WordPress slug, add the\nwordpress slug.\n\n6. By default this actions pulls your assets from `.wordpress-org` folder in your GitHub repository.\nYou can either rename your current assets folder to `.wordpress-org` or customize it using\n`ASSETS_DIR` variable.\n\n4. Commit the file.\n\n5. Go to your repository settings. In the Secrets tab, create two secrets\n`secrets.SVN_PASSWORD` and `secrets.SVN_USERNAME` and add the credentials as their\nvalues.\n\nThe action will run itself each time you tag a release 🎉\n\n## [WordPress.org Plugin Readme/Assets Update by **10up**](https://github.com/10up/action-wordpress-plugin-asset-update)\n\nThis action will watch for any changes to readme.txt and plugin assets (Icons, Screenshots) on your Git repository and deploy them to the SVN repository. This action can also be run in tandem with the first Deploy Action.\n\n### Triggers\nWith each push to the master branch that updates assets/readme. \n\n### Usage\n\n1. Inside your plugin repository on GitHub, create a `.github/workflows/deploy.yml` file.\n\n2. Copy the sample workflow file into yours\n\n3. If your GitHub repository slug is not same as the WordPress slug, add the\nwordpress slug.\n\n6. By default this actions expects these assets to be in `.wordpress-org` folder in your GitHub repository.\nYou can either rename your current assets folder to `.wordpress-org` or customize it using\n`ASSETS_DIR` variable after the slug variable.\n\n4. Commit the file.\n\n5. Go to your repository settings. In the Secrets tab, create two secrets\n`secrets.SVN_PASSWORD` and `secrets.SVN_USERNAME` and add the credentials as their\nvalues.\n\nThis action will run whenever you push changes to assets to master 🎉\n\n##  [WP Continuous Deployment CLI by Ahmad Awais](https://github.com/ahmadawais/wp-continuous-deployment)\n\nNode based CLI which automates deployments even further. Follow [Ahmads article](https://ahmadawais.com/wp-continuous-deployment/)\nfor details and usage.\n\n## [PHPCS on pull request by rtCamp](https://github.com/rtCamp/action-phpcs-code-review)\n\nRuns PHPCS Code review for every pull request.\n\n### Triggers\n\nWhenever a new pull request is created.\n\n### Usage\n\n1. Inside your plugin repository on GitHub, create a `.github/workflows/deploy.yml` file.\n\n2. Copy the workflow file given at the action's homepage. Commit it.\n\n3. Use a Bot account and create a personal access token, make sure to copy it.\n\n4. Go back to your repo, inside settings \u003e secrets, create a new secret. Initialize it with the token's value. \n\nThe action will run whenever a pull request is created.\n\n\n## [PHP Matrix Testing for WordPress Plugins](https://pascalknecht.ch/php-matrix-testing-for-wordpress-plugins-with-github-actions/)\n\nThis action is based on CI (Continuous Integration). Matrix testing describes the task of testing a software on different version of the programming language or other factors. This action runs unit tests your plugin on different php versions to test your plugins compatibility with them.\n\n## [WP Pot Generator](https://github.com/varunsridharan/action-wp-pot-generator)\n\nThis Action Generates POT Files for your wordpress Plugin / Theme based on the content inside Github Repo.\n\n## [Generate WordPress plugin hook documentation and deploy it to GitHub Pages](https://github.com/10up/actions-wordpress/blob/master/hookdocs-workflow.md)\n\nIf you document the hooks (actions and filters) in your WordPress project using the JSDoc standard, you can automatically turn that into a reader-friendly resource using this guide! This workflow uses a combination of a build process and an Action to publish documentation to GitHub Pages so you don't have to separately worry about keeping your documentation up to date and publicly available.\n\n### [Notify Slack with Deployment Status by rtCamp](https://github.com/rtCamp/action-slack-notify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadbilaldev%2Fgithub-actions-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadbilaldev%2Fgithub-actions-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadbilaldev%2Fgithub-actions-wordpress/lists"}