-
-
Save citizen428/6e008145de56be2dc448d38f90bbca63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby | |
#!/usr/bin/env ruby | |
message = File.read(ARGV[0]) | |
unless message =~ /\s*#\d+/ | |
puts "[POLICY] Your message did not reference a ticket." | |
exit 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment