mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-07 17:53:14 -05:00
e15a4dc174
test bucket variable Add empty expect words add procjet varaible Add excludes file add patters for urls Add newline at eof Changing lorem ipsum for proper words Add admiralawkbar to expected words Exclude lint templates files Add api apk and ansible as expected words add expected words for cleanup-docker.sh add expected words for ghe-config-apply.sh Fix add-ons spelling Add a bunch new words Simpler url pattern Use common baz word Fix coffeescript spelling Add expected words for ghe-api-config-apply.yml Add ecpected words for linter.sh Fix Multi-line spelling Add more linter.sh expected words Add a whole lot of expected words Add pattern for repeated single char Add space Add expected words for Dockerfile Add more expected words for ghe-api-config-apply.yml Add expected words for he-initial-configuration.yml Add expected words for ghe-ldap-configuration.yml Move spelling/expect -> spelling/allow Set workflow name Fix @admiralawkbar capitalization Fix requirements spelling Add last docker allow words Add last ghe-config-apply allow words Add last linter.sh allow words add last general allow words Add .gitignore allow words Add main.yml allow words Add settings.json.j2 allow words Add empty expect words Test gitignore.txt Fix patter for repeated chars Add some more allowed words more words Add disabling-linters.md allow words commit
38 lines
1.3 KiB
Perl
38 lines
1.3 KiB
Perl
#!/usr/bin/perl
|
|
################################################################################
|
|
################################################################################
|
|
######### Script action @admiralawkbar #########################################
|
|
################################################################################
|
|
|
|
#############
|
|
# Load Libs #
|
|
#############
|
|
use strict;
|
|
|
|
$|=1;
|
|
|
|
##################
|
|
#### GLOBALS: ####
|
|
##################
|
|
my $state = undef; # State to return to GHE
|
|
my $exitCode = 0; # Code to exit with
|
|
my $description = "Here it is"; # Description of the build
|
|
|
|
###############
|
|
#### MAIN: ####
|
|
###############
|
|
Header(); # Basic print statements
|
|
|
|
#######################################################################
|
|
#################### SUB ROUTINES BELOW ONLY ##########################
|
|
#######################################################################
|
|
#######################################################################
|
|
#### SUB ROUTINE Header ###############################################
|
|
sub Header
|
|
{
|
|
print "-------------------------------------------------------------------\n";
|
|
print "State:\[$state\]\n";
|
|
print "ExitCode:\[$exitCode\]\n";
|
|
print "Description:\[$description\]\n";
|
|
print "-------------------------------------------------------------------\n";
|
|
}
|