api: fix github webhook

This commit is contained in:
emily 2024-08-25 13:53:19 +02:00
parent 6eed4a5294
commit 46c68b3a69
Signed by untrusted user: snaakey
GPG key ID: F6F4C66207FCF995

View file

@ -273,7 +273,7 @@ sub push_github : Chained('api') PathPart('push-github') Args(0) {
$c->{stash}->{json}->{jobsetsTriggered} = []; $c->{stash}->{json}->{jobsetsTriggered} = [];
my $in = $c->request->{data}; 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; my $repo = $in->{repository}->{name} or die;
print STDERR "got push from GitHub repository $owner/$repo\n"; print STDERR "got push from GitHub repository $owner/$repo\n";