dany1468 / dependabot-gitea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependabot::Gitea

Companion to Updating dependencies in Gitea repos.

Usage

$ bundle init

Add following lines to Gemfile, and run bunble install.

gem "dependabot-omnibus"
gem 'dependabot-gitea'

Download sample updating script.

$ wget https://raw.githubusercontent.com/dany1468/dependabot-gitea/master/scripts/generic-update-script.rb

Run script. GITHUB_ACCESS_TOKEN and GITEA_ACCESS_TOKEN environment variables are required.

$ GITHUB_ACCESS_TOKEN= GITEA_ACCESS_TOKEN= bundle exec ruby generic-update-script.rb

⚠️ Currently not support updating multiple files

https://github.com/dany1468/dependabot-gitea/blob/master/lib/hack/dependabot-core/common/lib/dependabot/clients/gitea.rb#L87

Sorry. Currently updating first file only.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dany1468/dependabot-gitea.

License

The gem is available as open source under the terms of the MIT License.

About

License:MIT License


Languages

Language:Ruby 99.4%Language:Shell 0.6%