Class: WayOfWorking::Changelog::Keepachangelog::GithubAuditRule

Inherits:
Audit::Github::Rules::Base show all
Defined in:
lib/way_of_working/changelog/keepachangelog/github_audit_rule.rb

Overview

This rule checks for the Pull Request template.

Instance Attribute Summary

Attributes inherited from Audit::Github::Rules::Base

#errors, #fix, #name, #rulesets, #warnings

Instance Method Summary collapse

Methods inherited from Audit::Github::Rules::Base

#initialize, source_root, #status, tags, #tags

Constructor Details

This class inherits a constructor from WayOfWorking::Audit::Github::Rules::Base

Instance Method Details

#validateObject



11
12
13
# File 'lib/way_of_working/changelog/keepachangelog/github_audit_rule.rb', line 11

def validate
  @errors << 'No Keep a Changelog CHANGELOG.md found' unless keep_a_changelog_found?
end