Class: Git::Lint::Commits::Systems::NetlifyCI
- Inherits:
-
Object
- Object
- Git::Lint::Commits::Systems::NetlifyCI
- Defined in:
- lib/git/lint/commits/systems/netlify_ci.rb
Overview
Provides Netlify CI build environment feature branch information.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
13 14 15 16 17 |
# File 'lib/git/lint/commits/systems/netlify_ci.rb', line 13 def call executor.capture3 "git remote add -f origin #{environment["REPOSITORY_URL"]}" executor.capture3 "git fetch origin #{name}:#{name}" repository.commits "origin/#{repository.branch_default}..origin/#{name}" end |