blob: 52dda2b42b14914d63fbce4d1f3949c6b26f0390 [file] [log] [blame]
Arthur Sheb8369842023-08-27 09:46:14 -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
Arthur She60d38232025-01-15 14:48:07 -08008 node: docker-amd64-tf-a-jammy
Arthur She806eab02024-01-24 18:57:04 -08009 parameters:
10 - string:
11 name: BYPASS_ISSUE_RESPONSE_PROJ
12 description: |
Arthur She15c6cb42024-07-12 07:52:02 -070013 The projects that don't need the issue auto-response
14 default: 'TrustedFirmware-A/trusted-firmware-a TrustedFirmware-A/tf-a-ci-scripts TrustedFirmware-A/tf-a-tests TF-Hafnium/hafnium TrustedFirmware-M/trusted-firmware-m'
Arthur She806eab02024-01-24 18:57:04 -080015 - string:
16 name: BYPASS_PR_RESPONSE_PROJ
17 description: |
Arthur She15c6cb42024-07-12 07:52:02 -070018 The projects that don't need the PR auto-response
Arthur She806eab02024-01-24 18:57:04 -080019 default: ''
Arthur Sheb8369842023-08-27 09:46:14 -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/ci/tf-ci-scripts
39 basedir: tf-ci-scripts
40 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
Olivier Deprezbd6ead52024-02-21 10:15:27 +010047 key: github_issue_num
Arthur Sheb8369842023-08-27 09:46:14 -070048 value: $.issue.number
49 - type: JSONPath
50 key: github_pr_num
51 value: $.pull_request.number
52 token: trustedfirmware_github_auto_response
53 wrappers:
54 - credentials-binding:
55 - text:
56 credential-id: openci-bot-github-token
57 variable: AUTH_TOKEN