Class: WayOfWorking::PullRequestTemplate::Hdi::GithubAuditRule

Inherits:
Audit::Github::Rules::Base
  • Object
show all
Defined in:
lib/way_of_working/pull_request_template/hdi/github_audit_rule.rb

Overview

This rule checks for the Pull Request template.

Instance Method Summary collapse

Instance Method Details

#validateObject



11
12
13
# File 'lib/way_of_working/pull_request_template/hdi/github_audit_rule.rb', line 11

def validate
  @errors << 'No Way of Working Pull Request template found' unless pull_request_template?
end