{"id":20325425,"url":"https://github.com/getyourguide/dependabutler","last_synced_at":"2025-04-11T19:51:01.406Z","repository":{"id":79220512,"uuid":"605576888","full_name":"getyourguide/dependabutler","owner":"getyourguide","description":"tool to automatically create and update the config file for Dependabot (dependabot.yml)","archived":false,"fork":false,"pushed_at":"2024-08-06T08:50:03.000Z","size":151,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-08-07T09:13:07.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/getyourguide.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-23T13:03:34.000Z","updated_at":"2024-08-07T09:13:07.094Z","dependencies_parsed_at":"2023-10-12T16:03:55.882Z","dependency_job_id":"deb8bb6c-d13a-4bb6-a090-1da7dd9878ce","html_url":"https://github.com/getyourguide/dependabutler","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getyourguide%2Fdependabutler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getyourguide%2Fdependabutler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getyourguide%2Fdependabutler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getyourguide%2Fdependabutler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getyourguide","download_url":"https://codeload.github.com/getyourguide/dependabutler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224682695,"owners_count":17352396,"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":"2024-11-14T19:39:47.371Z","updated_at":"2025-04-11T19:51:01.387Z","avatar_url":"https://github.com/getyourguide.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dependabutler\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/getyourguide/dependabutler)](https://goreportcard.com/report/github.com/getyourguide/dependabutler)\n\n\u003cimg alt=\"dependabutler logo\" src=\"dependabutler.png\" style=\"width:48px\"/\u003e\n\nAutomatically create or update the `dependabot.yml` config file of GitHub repositories, based on manifest files present.\n\n\u003e `dependabutler` is a **Work In Progress** project.\n\n\n\n## Installation\n\n```\ngo install github.com/getyourguide/dependabutler/cmd/dependabutler@latest\n```\n\n## Usage\n\n### Configuration file\nThe default configuration file name is `dependabutler.yml`. Use `dependabutler-sample.yml` as a starting point and for reference.\n\n### Parameters\n\n| parameter           | mandatory | default             | description                                   |\n|---------------------|-----------|---------------------|-----------------------------------------------|\n| mode                | yes       | local               | local or remote                               |\n| configFile          | yes       | dependabutler.yml   | yml file holding the config for the tool      |\n| execute             | yes       | false               | true: create PR / write file; false: log-only |\n| dir                 | ¹         | *current directory* | directory containing repositories             |\n| org                 | ²         |                     | organisation name on GitHub                   |\n| repo                | ³         |                     | name of the repository to scan                |\n| repoFile            | ³         |                     | file containing repositories, one per line    |\n| stable-group-prefixes | no      | true                | ensures group names have numeric prefixes (01_, 02_, etc.) |\n\n¹ mandatory for local mode  \n² mandatory for remote mode  \n³ one of `repo` and `repoFile` required for remote mode (if both are set, `repo` takes precedence)  \n\n\n### Local Mode\n\nScan a local directory and write the `dependabot.yml` file back.\n\nExamples:\n\n- `dependabutler`  \n  scan the current directory, log-only mode\n\n- `dependabutler -execute=true`  \n  scan the current directory and write `.github/dependabot.yml`\n\n- `dependabutler -dir=/home/joe/myproject/ -configFile=/home/joe/dependabutler.yml -execute`  \n  scan `/home/joe/myproject` and write `/home/joe/myproject/.github/dependabot.yml`, using config in `/home/joe/dependabutler.yml`\n\n\n### Remote Mode\nScan a repo on GitHub using the API, and create a pull request for the `dependabot.yml` file.\nFor remote mode, a GitHub API token is required. It must be provided as an environment variable named `GITHUB_TOKEN`.\n\nExamples:\n\n- `dependabutler -mode=remote -org=acme -repo=myproject`  \n  scan github.com/acme/myproject, log-only mode\n\n- `dependabutler -mode=remote -org=acme -repo=myproject -execute=true`\n  scan github.com/acme/myproject and create a PR if needed\n\n- `dependabutler -mode=remote -org=acme -repoFile=repolist.txt -execute=true`  \n  scan all projects listed in `repolist.txt` and create PRs if needed\n\n\n## Contributing\n\nIf you're interested in contributing to this project or running a dev version, have a look into the [CONTRIBUTING](CONTRIBUTING.md) document.\n\n\n## Security\n\nFor sensitive security matters please contact [security@getyourguide.com](mailto:security@getyourguide.com).\n\n\n## Legal\n\nCopyright 2024 GetYourGuide GmbH.\n\ndependabutler is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for the full text.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetyourguide%2Fdependabutler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetyourguide%2Fdependabutler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetyourguide%2Fdependabutler/lists"}