{"id":15698579,"url":"https://github.com/ckipp01/mill-dependency-submission","last_synced_at":"2025-05-08T22:27:13.209Z","repository":{"id":45375685,"uuid":"513535108","full_name":"ckipp01/mill-dependency-submission","owner":"ckipp01","description":"A GitHub action to submit your dependency graph from your Mill build to GitHub.","archived":false,"fork":false,"pushed_at":"2025-04-18T08:37:42.000Z","size":1361,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T21:37:42.233Z","etag":null,"topics":["action","dependency-graph","mill","scala","submission-api"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckipp01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ckipp01"}},"created_at":"2022-07-13T13:36:43.000Z","updated_at":"2025-04-18T08:37:39.000Z","dependencies_parsed_at":"2023-10-04T13:46:56.811Z","dependency_job_id":"d208ce1b-7f93-4315-a6e7-be2a821652e4","html_url":"https://github.com/ckipp01/mill-dependency-submission","commit_stats":{"total_commits":94,"total_committers":2,"mean_commits":47.0,"dds":"0.17021276595744683","last_synced_commit":"3425f2e6063a03078b00fcb385ae74c648b4e3c7"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-dependency-submission","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-dependency-submission/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-dependency-submission/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-dependency-submission/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckipp01","download_url":"https://codeload.github.com/ckipp01/mill-dependency-submission/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249874238,"owners_count":21338283,"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","dependency-graph","mill","scala","submission-api"],"created_at":"2024-10-03T19:30:14.996Z","updated_at":"2025-04-20T09:30:57.619Z","avatar_url":"https://github.com/ckipp01.png","language":"Shell","funding_links":["https://github.com/sponsors/ckipp01"],"categories":[],"sub_categories":[],"readme":"# Mill Dependency Submission\n\nA GitHub action to submit your dependency graph from your\n[Mill](https://com-lihaoyi.github.io/mill/mill/Intro_to_Mill.html) build to\nGitHub via their [Dependency Submission\nAPI](https://github.blog/2022-06-17-creating-comprehensive-dependency-graph-build-time-detection/).\n\nThe main benifits of doing this are:\n\n1. Being able to see your dependency graph on GitHub in your [Insights\n   tab](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository#viewing-the-dependency-graph).\n   For example you can see this\n   [here](https://github.com/ckipp01/mill-github-dependency-graph/network/dependencies)\n   for this plugin.\n2. If enabled, Dependabot can send you\n   [alerts](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts)\n   about security vulnerabilities in your dependencies.\n\n## Requirements\n\n- Make sure in your repo settings the Dependency Graph feature is enabled as\n    well as Dependabot Alerts if you'd like them. (Settings -\u003e Code security and\n    analysis) \n\n## Quick Start\n\nCreate a workflow with the following:\n\n```yml\nname: github-dependency-graph\n\n# The API requires write permission on the repository to submit dependencies\npermissions:\n  contents: write\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  submit-dependency-graph:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: coursier/cache-action@v6\n    - uses: actions/setup-java@v3\n      with:\n        distribution: 'temurin'\n        java-version: '17'\n    - uses: ckipp01/mill-dependency-submission@v1\n```\n\nYou can also just run the following command from the root of your workspace\nwhich will create the file for you:\n\n```sh\ncurl -o .github/workflows/github-dependency-graph.yml --create-dirs https://raw.githubusercontent.com/ckipp01/mill-github-dependency-graph/main/.github/workflows/github-dependency-graph.yml\n```\n\n## Inputs\n\n### - `working-directory` (optional)\n\nThe relative path of the working directory of your build (where your\n.mill-version and build.sc are). This defaults to `.`.\n\n### - `plugin-version` (optional)\n\nOverride the default version of\n[ckipp01/mill-github-dependency-graph](https://github.com/ckipp01/mill-github-dependency-graph)\nplugin that is used internally.\n\n## Troubleshooting\n\n### Unexpected Status: 404\n\nThis error happens when the `Dependency Graph` feature is disabled. You can\nenable it in `Settings` \u003e `Code Security and Analysis`.\n\n## How this all works\n\nYou can see further explanation on the inner workings of the Mill plugin in\n[ckipp01/mill-github-dependency-graph](https://github.com/ckipp01/mill-github-dependency-graph).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckipp01%2Fmill-dependency-submission","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckipp01%2Fmill-dependency-submission","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckipp01%2Fmill-dependency-submission/lists"}