Skip to content

Instantly share code, notes, and snippets.


Alex Finkel alexf101

View GitHub Profile
alexf101 / generate_dependabot_config.rb
Last active Jun 7, 2021
Translates a Dependabot config with glob support to a real Dependabot config
View generate_dependabot_config.rb
#!/usr/bin/env ruby
require 'yaml'
require 'set'
require 'json'
CONFIG_GENERATOR_CONFIG_FILENAME = "dependabot_config_generator_config.yml"
DEPENDABOT_ACTUAL_CONFIG_FILENAME = ".dependabot/config.yml"
REPO_ROOT = File.expand_path(File.join(File.dirname(__FILE__), ".."))
Dir.chdir REPO_ROOT
View gist:31e3d891075f0068217bdebddcb390f3
### Keybase proof
I hereby claim:
* I am alexf101 on github.
* I am alexf124 ( on keybase.
* I have a public key ASDDTyhRTkN2kOhulu9Alm6oC9f37FZNjqErjOG3JW4crQo
To claim this, I am signing this object: