blob: ce489662af1833159d012cc96d75c3df8ceef1a0 [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
Arthur Shed8bf6e42024-01-24 18:44:42 -08009 parameters:
10 - string:
11 name: BYPASS_ISSUE_RESPONSE_PROJ
12 description: |
13 The projects that don't need the issue response
14 default: 'TrustedFirmware-A/trusted-firmware-a TrustedFirmware-A/tf-a-ci-scripts TrustedFirmware-A/tf-a-tests'
15 - string:
16 name: BYPASS_PR_RESPONSE_PROJ
17 description: |
18 The projects that don't need the PR response
19 default: ''
Arthur She1b0b1802023-08-25 23:05:19 -070020 builders:
21 - shell: |-
22 #!/bin/bash
23 echo "########################################################################"
24 echo " Github Environment"
25 env |grep '^github_'
26 echo "########################################################################"
27 bash tf-ci-scripts/ci/run_github_autoreply.sh
28 properties:
29 - build-discarder:
30 days-to-keep: 30
31 num-to-keep: 100
32 scm:
33 - git:
34 branches:
35 - master
36 clean:
37 before: true
38 url: https://review.trustedfirmware.org/next/ci/tf-ci-scripts
Arthur Sheda2c9cd2023-08-25 23:17:49 -070039 basedir: tf-ci-scripts
Arthur She1b0b1802023-08-25 23:05:19 -070040 triggers:
41 - generic-webhook-trigger:
42 post-content-params:
43 - type: JSONPath
44 key: github_repo_full_name
45 value: $.repository.full_name
46 - type: JSONPath
47 key: github_issue_num
48 value: $.issue.number
49 - type: JSONPath
50 key: github_pr_num
51 value: $.pull_request.number
52 token: trustedfirmware_github_auto_response
Arthur Sheda2c9cd2023-08-25 23:17:49 -070053 wrappers:
54 - credentials-binding:
55 - text:
56 credential-id: openci-bot-github-token
57 variable: AUTH_TOKEN