{"id":26633487,"url":"https://github.com/chains-project/dirty-waters-action","last_synced_at":"2026-01-05T08:04:02.707Z","repository":{"id":269160784,"uuid":"906597335","full_name":"chains-project/dirty-waters-action","owner":"chains-project","description":"Break the build if your supply chain is dirty","archived":false,"fork":false,"pushed_at":"2025-03-19T14:34:50.000Z","size":105,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-19T15:35:26.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/chains-project.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}},"created_at":"2024-12-21T10:54:58.000Z","updated_at":"2025-03-19T10:17:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3bb09a8-87e1-4a83-b3ca-c3b2e0e2f26d","html_url":"https://github.com/chains-project/dirty-waters-action","commit_stats":null,"previous_names":["chains-project/dirty-waters-action"],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chains-project%2Fdirty-waters-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chains-project%2Fdirty-waters-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chains-project%2Fdirty-waters-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chains-project%2Fdirty-waters-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chains-project","download_url":"https://codeload.github.com/chains-project/dirty-waters-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294720,"owners_count":20591909,"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":[],"created_at":"2025-03-24T15:15:05.704Z","updated_at":"2026-01-05T08:04:02.701Z","avatar_url":"https://github.com/chains-project.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# dirty-waters-action\n\nThis action runs [Dirty Waters](https://github.com/chains-project/dirty-waters) on your repository to analyze dependencies for Software Supply Chain (SSC) issues.\nAdd this workflow to your repository to analyze dependencies in your pull requests\n(change/add inputs as needed -- details in [action.yml](./action.yml)). An example of a workflow that uses this action is available in [example_workflow.yml](./example_workflow.yml).\n\nThe action will:\n\n1. Run on commits that modify dependency files\n2. Analyze dependencies for software supply chain smells\n3. Post results:\n   1. If in a PR, will post the report as a comment by default if CI fails\n   2. Otherwise, results are available in the action logs; if CI fails, the report may also be posted as a comment in the commit, if enabled\n4. Break CI if high severity issues are found, if enabled\n\nAs an important note, **the first time you run this action, it _will_ take quite some time**!\nHowever, after the first run, subsequent ones should be fast.\n\nSSC issues currently checked for:\n\n- No source code links (or invalid ones) for a dependency\n- Provided release tag/commit SHA not found in a dependency's repository\n- Dependency being a fork of another package\n- Deprecated dependency\n- Dependency without build attestation\n- Dependency without code signature (or an invalid one)\n- Aliased dependencies\n\n### Inputs\n\n| Input                 | Description                                                                                        | Required | Default                    |\n| --------------------- | -------------------------------------------------------------------------------------------------- | -------- | -------------------------- |\n| github_token          |                                                                                                    | Yes      | -                          |\n| project_repo          | Repository name (owner/repo)                                                                       | No       | {{ github.repository }}    |\n| version_old           | Base version/ref to analyze,                                                                       | No       | -                          |\n| version_new           | New version/ref for diff analysis                                                                  | No       | -                          |\n| differential_analysis | Whether to perform differential analysis (true/false)                                              | No       | false                      |\n| package_manager       | Package manager (npm, yarn-classic, yarn-berry, pnpm, maven)                                       | Yes      | -                          |\n| name_match            | Compare the package names with the name in the in the package.json file. Will slow down execution. | No       | false                      |\n| specified_smells      | Specify the smells to check for                                                                    | No       | all                        |\n| debug                 | Enable debug mode                                                                                  | No       | false                      |\n| config                | Path to the configuration file, relative to your project's root                                    | No       | -                          |\n| gradual_report        | Enable gradual report functionality                                                                | No       | true                       |\n| fail_on_high_severity | Fail CI on high severity issues                                                                    | No       | true                       |\n| x_to_fail             | Percentage threshold to break CI on high or medium severity issues (per type of issue)             | No       | 0% of packages             |\n| allow_pr_comment      | Post analysis results as a PR comment if CI breaks                                                 | No       | true                       |\n| comment_on_commit     | Post analysis results as a commit comment if CI breaks                                             | No       | false                      |\n| github_event_before   | GitHub event before SHA, to retrieve the previous cache key                                        | No       | ${{ github.event.before }} |\n| ignore_cache          | Ignore the repository cache for this run (true/false)                                              | No       | false                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchains-project%2Fdirty-waters-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchains-project%2Fdirty-waters-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchains-project%2Fdirty-waters-action/lists"}