api: fix github webhook

This commit is contained in:
emily
2024-08-26 20:26:21 +02:00
parent 64df0cba47
commit ab6d81fad4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ sub push_github : Chained('api') PathPart('push-github') Args(0) {
$c->{stash}->{json}->{jobsetsTriggered} = [];
my $in = $c->request->{data};
my $owner = $in->{repository}->{owner}->{name} or die;
my $owner = $in->{repository}->{owner}->{login} or die;
my $repo = $in->{repository}->{name} or die;
print STDERR "got push from GitHub repository $owner/$repo\n";