aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArun Isaac2022-03-28 15:21:39 +0530
committerArun Isaac2022-03-28 15:21:39 +0530
commitb308de7b6b1b9dea9371b3e03e0fd4766f681539 (patch)
treecb84c94b15afffefc525bfaa4e6da50524badef9 /doc
parentee1d2f8d00003ddff30c9f611ebae859a8ba1ab6 (diff)
downloadguix-forge-b308de7b6b1b9dea9371b3e03e0fd4766f681539.tar.gz
guix-forge-b308de7b6b1b9dea9371b3e03e0fd4766f681539.tar.lz
guix-forge-b308de7b6b1b9dea9371b3e03e0fd4766f681539.zip
forge: Add trigger? field to forge-laminar-job.
* guix/forge/laminar.scm (<forge-laminar-job>)[trigger?]: New field. * guix/forge/forge.scm (ci-jobs-trigger-gexp): Only trigger jobs for which trigger? is #t. * doc/forge.skb (Reference)[<forge-laminar-job>]: Document trigger?.
Diffstat (limited to 'doc')
-rw-r--r--doc/forge.skb5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/forge.skb b/doc/forge.skb
index 37e570c..678d4de 100644
--- a/doc/forge.skb
+++ b/doc/forge.skb
@@ -235,7 +235,10 @@ unused unused, and may be deprecated in the future.]))
(record-field "run"
[G-expression to be run])
(record-field "after"
- [G-expression to be run after the main job script]))
+ [G-expression to be run after the main job script])
+ (record-field "trigger?"
+ [If ,(code [#t]), this job is run on every commit. Else, it
+must be manually set up to run some other way.]))
(record-documentation "guix/forge/webhook.scm" '<webhook-configuration>
(record-field "package"
[,(code [webhook]) package to use])