Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move more towards using Pithub and take the root repo rather than forks.
- Loading branch information
Showing
4 changed files
with
180 additions
and
35 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A very simple github bot. Use an accout of the same name. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package blacklist; | ||
|
||
sub ok_to_update { | ||
my $user = shift @_; | ||
my %none = {"lolerskates" => 1}; | ||
if ($none{$user}) { | ||
print "Not updating for $user ... :( \n"; | ||
return 0; | ||
} else { | ||
return 1; | ||
} | ||
} | ||
|
||
use base 'Exporter'; | ||
our @EXPORT = qw{ok_to_update}; | ||
|
||
1; |
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
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