Sha256: beb5ba2aa5a407cdad9a4a148156dbc2954bc6156e535ba4c9737582f15eba34
Contents?: true
Size: 565 Bytes
Versions: 4
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true module NeetoCompliance class AutoUpdatePrsWithLatestMasterVerifier < Base def local_copy ".github/workflows/auto_update_prs_with_latest_master.yml" end def commons_copy NeetoCompliance::NeetoCommons.path.join "common_files/github/workflows/auto_update_prs_with_latest_master.yml" end def verify_command "diff -N #{commons_copy} #{local_copy}" end def valid? `#{verify_command}`.empty? end def autofix_command "cp #{commons_copy} #{local_copy}" end end end
Version data entries
4 entries across 4 versions & 2 rubygems