Add "created" arg

Johan Lorenzo 6 years ago committed by Christian Sadilek
parent 85d23c1cfa
commit 6eef665b47

@ -5,6 +5,7 @@ tasks:
- $if: 'tasks_for == "github-pull-request" && event["action"] in ["opened", "reopened", "synchronize"]'
then:
taskId: {$eval: as_slugid("pr_task")}
created: {$fromNow: ''}
deadline: {$fromNow: '2 hours'}
provisionerId: aws-provisioner-v1
workerType: github-worker
@ -41,6 +42,7 @@ tasks:
- $if: 'tasks_for == "github-push"'
then:
taskId: {$eval: as_slugid("push_task")}
created: {$fromNow: ''}
deadline: {$fromNow: '2 hours'}
provisionerId: aws-provisioner-v1
workerType: github-worker

Loading…
Cancel
Save