blob: b242ac613d01b7b3b655b50f57cf112154294485 [file] [log] [blame]
Arthur She1b0b1802023-08-25 23:05:19 -07001- job:
2 block-downstream: false
3 block-upstream: false
4 disabled: false
5 name: tf-github-autoresponse
6 display-name: 'TF Github auto response'
7 project-type: freestyle
8 node: master
9 builders:
10 - shell: |-
11 #!/bin/bash
12 echo "########################################################################"
13 echo " Github Environment"
14 env |grep '^github_'
15 echo "########################################################################"
16 bash tf-ci-scripts/ci/run_github_autoreply.sh
17 properties:
18 - build-discarder:
19 days-to-keep: 30
20 num-to-keep: 100
21 scm:
22 - git:
23 branches:
24 - master
25 clean:
26 before: true
27 url: https://review.trustedfirmware.org/next/ci/tf-ci-scripts
Arthur Sheda2c9cd2023-08-25 23:17:49 -070028 basedir: tf-ci-scripts
Arthur She1b0b1802023-08-25 23:05:19 -070029 triggers:
30 - generic-webhook-trigger:
31 post-content-params:
32 - type: JSONPath
33 key: github_repo_full_name
34 value: $.repository.full_name
35 - type: JSONPath
36 key: github_issue_num
37 value: $.issue.number
38 - type: JSONPath
39 key: github_pr_num
40 value: $.pull_request.number
41 token: trustedfirmware_github_auto_response
Arthur Sheda2c9cd2023-08-25 23:17:49 -070042 wrappers:
43 - credentials-binding:
44 - text:
45 credential-id: openci-bot-github-token
46 variable: AUTH_TOKEN