๐Ÿ“ฆ mataku / danger-lock_dependency_versions

A Danger plugin for dependency file versions management.

โ˜… 2 stars โ‘‚ 0 forks ๐Ÿ‘ 2 watching โš–๏ธ MIT License
dangerdanger-pluginruby
๐Ÿ“ฅ Clone https://github.com/mataku/danger-lock_dependency_versions.git
HTTPS git clone https://github.com/mataku/danger-lock_dependency_versions.git
SSH git clone git@github.com:mataku/danger-lock_dependency_versions.git
CLI gh repo clone mataku/danger-lock_dependency_versions
Takuma Homma Takuma Homma Ruby 3 7483c0b 4 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ lib
๐Ÿ“ spec
๐Ÿ“„ .gitignore
๐Ÿ“„ Gemfile
๐Ÿ“„ Guardfile
๐Ÿ“„ LICENSE.txt
๐Ÿ“„ Rakefile
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Build Status

danger-lockdependencyversions

A Danger plugin for managing dependency files.

Check files which should be committed together to version control (e.g., Gemfile and Gemfile.lock, Cartfile and Cartfile.resolved).

Installation

Add this line to your Gemfile:

gem danger-lock_dependency_versions

Usage

First, create .lock_list.yml and add key-value pair to check.

Gemfile: Gemfile.lock
Cartfile: Cartfile.resolved

Add to Dangerfile.

# Optional: you can specify yml file path (default: ./lock_list.yml)
# lock_dependency_versions.lock_list_file = './scripts/file.yml'
lock_dependency_versions.check

If lockfile has not committed to version control, post a failure comment by Danger.

Methods

check(warning: boolean)

if specify warning: true, set comment status to warning. (default: false)