{"id":24133446,"url":"https://github.com/projectwallace/css-diff-action","last_synced_at":"2025-07-23T10:33:32.354Z","repository":{"id":40928797,"uuid":"249823357","full_name":"projectwallace/css-diff-action","owner":"projectwallace","description":"Project Wallace GitHub Action to report CSS diffs to PR's","archived":false,"fork":false,"pushed_at":"2023-10-02T23:09:29.000Z","size":1011,"stargazers_count":38,"open_issues_count":7,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-13T15:37:32.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.projectwallace.com","language":"JavaScript","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/projectwallace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":[],"patreon":"bartveneman","open_collective":"projectwallace","custom":["https://www.projectwallace.com/sponsor","https://www.paypal.me/bartveneman"]}},"created_at":"2020-03-24T21:36:22.000Z","updated_at":"2024-02-29T05:21:28.000Z","dependencies_parsed_at":"2023-11-09T06:15:08.240Z","dependency_job_id":null,"html_url":"https://github.com/projectwallace/css-diff-action","commit_stats":{"total_commits":44,"total_committers":4,"mean_commits":11.0,"dds":0.7045454545454546,"last_synced_commit":"d0581414fd78fd45128fc96efd4a4fe11bcc87e3"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/projectwallace/css-diff-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fcss-diff-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fcss-diff-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fcss-diff-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fcss-diff-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projectwallace","download_url":"https://codeload.github.com/projectwallace/css-diff-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fcss-diff-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266502131,"owners_count":23939356,"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-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-01-11T23:37:55.969Z","updated_at":"2025-07-23T10:33:32.332Z","avatar_url":"https://github.com/projectwallace.png","language":"JavaScript","funding_links":["https://patreon.com/bartveneman","https://opencollective.com/projectwallace","https://www.projectwallace.com/sponsor","https://www.paypal.me/bartveneman"],"categories":[],"sub_categories":[],"readme":"# Project Wallace Diff Github Action\n\nThis GitHub actions posts your CSS to [projectwallace.com](https://www.projectwallace.com?ref=gh-diff-action), calculates the change between the current state of your project and your PR, and comments the diff in the PR.\n\n![Example comment](https://repository-images.githubusercontent.com/249823357/07b48c00-7aba-11ea-8c20-bf349a3005ac)\n\n## Usage\n\n### Inputs\n\n| Name                    | Required   | Example                                                       | Description                                                                                                                                                                                                                                                                                                     |\n| ----------------------- | ---------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `github-token`          | _required_ | `github-token: ${{ secrets.GITHUB_TOKEN }}`                   | This Action uses this token to post a comment with the diff.                                                                                                                                                                                                                                                    |\n| `project-wallace-token` | _required_ | `project-wallace-token: ${{ secrets.PROJECT_WALLACE_TOKEN }}` | The webhook token for your project on projectwallace.com. You can find this token in the project settings. You must add this token to your [repository secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets) first! |\n| `css-path`              | _required_ | `css-path: ./build/style.css`                                 | Path to the CSS file that should be analyzed and compared to the data on projectwallace.com.                                                                                                                                                                                                                    |\n| `post-pr-comment`       | _optional_ | `true`                                                        | Whether this action should post a comment to the PR with changes                                                                                                                                                                                                                                                |\n\n### Example\n\n```yaml\nname: CSS Workflow\n\non:\n  pull_request: # only run this action on pull requests\n    branches: [master] # and only to the master branch\n\njobs:\n  cssDiff:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Project Wallace Diff\n        uses: projectwallace/css-diff-action@master\n        with:\n          project-wallace-token: ${{ secrets.PROJECT_WALLACE_TOKEN }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          css-path: ./build/style.css\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectwallace%2Fcss-diff-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojectwallace%2Fcss-diff-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectwallace%2Fcss-diff-action/lists"}