{"id":21519632,"url":"https://github.com/usefulness/dependency-tree-diff-action","last_synced_at":"2025-08-20T10:05:36.684Z","repository":{"id":37894959,"uuid":"290863655","full_name":"usefulness/dependency-tree-diff-action","owner":"usefulness","description":"Github Action wrapper for the Jake Wharton's dependency-tree-diff tool","archived":false,"fork":false,"pushed_at":"2025-08-14T10:31:55.000Z","size":735,"stargazers_count":13,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T12:25:02.358Z","etag":null,"topics":["dependency","dependency-tree-diff","diff","github-actions","gradle","pull-request","tree","wharton"],"latest_commit_sha":null,"homepage":"https://medium.com/@cycki/surfacing-pull-request-hidden-changes-but-for-lazy-people-196d825519c9","language":"PowerShell","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/usefulness.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-08-27T19:28:10.000Z","updated_at":"2025-08-14T10:31:58.000Z","dependencies_parsed_at":"2023-02-16T01:01:07.805Z","dependency_job_id":"bd2b9e3c-fd47-45bc-a420-298b57956f44","html_url":"https://github.com/usefulness/dependency-tree-diff-action","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/usefulness/dependency-tree-diff-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fdependency-tree-diff-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fdependency-tree-diff-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fdependency-tree-diff-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fdependency-tree-diff-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usefulness","download_url":"https://codeload.github.com/usefulness/dependency-tree-diff-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usefulness%2Fdependency-tree-diff-action/sbom","scorecard":{"id":617,"data":{"date":"2025-08-04","repo":{"name":"github.com/usefulness/dependency-tree-diff-action","commit":"9fd30d5acceea60bfb868cc998ea989f05fc37f8"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: testproject/gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:117: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:152: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:156: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:175: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:190: update your workflow using https://app.stepsecurity.io/secureworkflow/usefulness/dependency-tree-diff-action/main.yml/master?enable=pin","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T12:26:10.978Z","repository_id":37894959,"created_at":"2025-08-14T12:26:10.978Z","updated_at":"2025-08-14T12:26:10.978Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271299801,"owners_count":24735421,"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-08-20T02:00:09.606Z","response_time":69,"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":["dependency","dependency-tree-diff","diff","github-actions","gradle","pull-request","tree","wharton"],"created_at":"2024-11-24T00:59:41.346Z","updated_at":"2025-08-20T10:05:36.644Z","avatar_url":"https://github.com/usefulness.png","language":"PowerShell","readme":"# Dependency Tree Diff - GitHub Action\n\n![.github/workflows/main.yml](https://github.com/usefulness/dependency-tree-diff-action/workflows/.github/workflows/main.yml/badge.svg)\n\nSimple GitHub Action wrapper for Jake Wharton's [Dependency Tree Diff](https://github.com/JakeWharton/dependency-tree-diff) tool.\n\n## Usage \nThe action only exposes _output_ containing the diff, so to effectively consume its output, it is highly recommended to use other GitHub Actions to customize your experience.\n\n#### Create Pull Request comment on dependency change   \n[See it in action!](https://github.com/mateuszkwiecinski/github_browser/pull/31)  \nCreate `.github/workflows/dependency_diff.yml`\n\n```yml\nname: Generate dependency diff\n\non:\n  pull_request:\n\njobs:\n  generate-diff:\n    runs-on: ubuntu-latest\n    \n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-java@v4\n      with:\n        distribution: 'temurin'\n        java-version: 23\n        \n    - uses: gradle/actions/setup-gradle@v4\n\n    - id: dependency-diff\n      name: Generate dependency diff\n      uses: usefulness/dependency-tree-diff-action@v2\n\n    - uses: peter-evans/find-comment@v3\n      id: find_comment\n      with:\n        issue-number: ${{ github.event.pull_request.number }}\n        body-includes: Dependency diff\n\n    - uses: peter-evans/create-or-update-comment@v4\n      if: ${{ steps.dependency-diff.outputs.text-diff != null || steps.find_comment.outputs.comment-id != null }}\n      with:\n        body: |\n          Dependency diff (customize your message here): \n            ```diff\n            ${{ steps.dependency-diff.outputs.text-diff }}\n            ```\n        edit-mode: replace\n        comment-id: ${{ steps.find_comment.outputs.comment-id }}\n        issue-number: ${{ github.event.pull_request.number }}\n        token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Customization\nAll inputs with their default values:\n```yml\n    - id: dependency-diff\n      uses: usefulness/dependency-tree-diff-action@v2\n      with:\n        configuration: 'releaseRuntimeClasspath'\n        project: 'app'\n        build-root-directory: .\n        additional-gradle-arguments: ''\n        lib-version: 'latest'\n```\n\n- **`configuration`** - Selected Gradle configuration, passed to `./gradlew dependencies --configuration xxx`.\nIt should correspond to output artifact considered output of the project.\n- **`project`** - Gradle project which dependency tree diff should be generated for. \nDependency diff for root projects can be configured using `project: ''`. \n For Android projects use the one that has `com.android.application` plugin applied.\n- **`build-root-directory`** - Relative path to folder containing gradle wrapper. \nExample usage: `build-root-directory: library`\n- **`additional-gradle-arguments`** - Additional arguments passed to internal Gradle invocation. Example: `\"--no-configuration-cache\"` or `\"--stacktrace\"`  \n- **`lib-version`** - Overrides [dependency-tree-diff](https://github.com/JakeWharton/dependency-tree-diff) dependency version. Example: `\"1.2.1\"`, `\"1.1.0\"`, `\"latest\"`\n\n\u003cdetails\u003e\u003csummary\u003e\u003c/summary\u003e\n\u003cp\u003e\n\n🙏 Praise 🙏 be 🙏 to 🙏 Wharton 🙏\n\n\u003c/p\u003e\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusefulness%2Fdependency-tree-diff-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusefulness%2Fdependency-tree-diff-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusefulness%2Fdependency-tree-diff-action/lists"}