{"id":28930600,"url":"https://github.com/rtcamp/action-amp-wp-theme-compat-analysis","last_synced_at":"2026-04-29T04:32:48.718Z","repository":{"id":141951608,"uuid":"263039650","full_name":"rtCamp/action-amp-wp-theme-compat-analysis","owner":"rtCamp","description":"A GitHub Action to add AMP Theme Compatability Analysis on pull requests as a comment.","archived":false,"fork":false,"pushed_at":"2020-05-11T13:54:35.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-06-22T15:10:58.116Z","etag":null,"topics":["action","amp","amp-compatibilty","analysis","compatibility"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtCamp.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2020-05-11T12:44:48.000Z","updated_at":"2020-05-12T09:08:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"541da0fc-3032-461f-b516-04b0b8cb0dc8","html_url":"https://github.com/rtCamp/action-amp-wp-theme-compat-analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rtCamp/action-amp-wp-theme-compat-analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Faction-amp-wp-theme-compat-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Faction-amp-wp-theme-compat-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Faction-amp-wp-theme-compat-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Faction-amp-wp-theme-compat-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtCamp","download_url":"https://codeload.github.com/rtCamp/action-amp-wp-theme-compat-analysis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Faction-amp-wp-theme-compat-analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263499193,"owners_count":23476021,"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","amp","amp-compatibilty","analysis","compatibility"],"created_at":"2025-06-22T15:09:52.721Z","updated_at":"2026-04-29T04:32:48.678Z","avatar_url":"https://github.com/rtCamp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AMP WP Theme Compatability Analysis - GitHub Action\n\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n\nA [GitHub Action](https://github.com/features/actions) to add AMP Theme Compatability Analysis on pull requests as a comment to depict the comptaibility change percentages by that PR vs base branch. It is based on [amp-wp-theme-compat-analysis](https://github.com/westonruter/amp-wp-theme-compat-analysis/).\n\nThe action does this following:\n\n1. Analysis is done on pull request for the theme(s) that are involved in it. \n2. Analysis is done against the changes in pull request as well as the base branch of the pull request.\n3. It is posted as a comment and only for the theme being updated in the pull request.\n4. If the Pull request is updated, i.e., new commits are added, then analysis will be re-computed and the comment will be updated with the latest commit's data.\n\nThis action requires the repository in a certain way, it needs to have all the themes in parent directory of the repository, like [this](https://github.com/rtCamp/themes) repository.\n\n## Usage\n\n1. Create a `.github/workflows/amp-analysis.yml` in your GitHub repo, if one doesn't exist already.\n2. Add the following code to the `amp-analysis.yml` file.\n\n```yaml\non: pull_request\n\nname: Run amp-theme-compat-analysis\njobs:\n  Run-amp-theme-compat-analysis:\n    name: Run amp-theme-compat-analysis\n    runs-on: ubuntu-18.04\n    steps:\n    - name: Checkout PR\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n        path: main\n    - name: Checkout Base Branch\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.base.sha }}\n        path: base\n    - name: Run amp-theme-compat-analysis\n      uses: rtCamp/action-amp-wp-theme-compat-analysis@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Screenshot\n\n**AMP WP Theme Compatability Analysis in action**\n\n\u003cimg width=\"560\" alt=\"AMP WP Theme Compatability Analysis\" src=\"https://user-images.githubusercontent.com/25586785/81568541-89e6e780-93bb-11ea-9746-a45a610530b2.png\"\u003e\n\n## License\n\n[MIT](LICENSE) © 2019 rtCamp\n\n## Does this interest you?\n\n\u003ca href=\"https://rtcamp.com/\"\u003e\u003cimg src=\"https://rtcamp.com/wp-content/uploads/2019/04/github-banner@2x.png\" alt=\"Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtcamp%2Faction-amp-wp-theme-compat-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtcamp%2Faction-amp-wp-theme-compat-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtcamp%2Faction-amp-wp-theme-compat-analysis/lists"}