Update branchability.rb
add support for a different USER
This commit is contained in:
@@ -19,7 +19,7 @@ module Shared
|
||||
|
||||
user = parts.shift
|
||||
standard = parts.shift
|
||||
error "invalid user: #{user}" unless ENV['USER'] == user
|
||||
error "invalid user: #{user}" unless [ENV['FEATURE_USER'],ENV['USER']].include? user
|
||||
error "invalid branch: #{standard}" unless standard_branches.include? standard
|
||||
feature = parts.join('-')
|
||||
{ user: user, standard: standard, feature: feature }
|
||||
|
||||
Reference in New Issue
Block a user