mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Check the type of the header values in branch-updated-emails
This commit is contained in:
parent
bdfb654233
commit
be6acf8e3b
|
@ -29,8 +29,10 @@
|
|||
(x-git-reftype (assq-ref headers 'x-git-reftype))
|
||||
(x-git-refname (assq-ref headers 'x-git-refname))
|
||||
(x-git-newrev (assq-ref headers 'x-git-newrev)))
|
||||
(when (and (string=? x-git-reftype "branch")
|
||||
(string=? x-git-repo "guix")
|
||||
(when (and (and (string? x-git-reftype)
|
||||
(string=? x-git-reftype "branch"))
|
||||
(and (string? x-git-repo)
|
||||
(string=? x-git-repo "guix"))
|
||||
(string? x-git-newrev))
|
||||
(enqueue-load-new-guix-revision-job
|
||||
conn
|
||||
|
|
Loading…
Reference in a new issue