Arthur She | 1b0b180 | 2023-08-25 23:05:19 -0700 | [diff] [blame] | 1 | - 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 She | d8bf6e4 | 2024-01-24 18:44:42 -0800 | [diff] [blame] | 9 | 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 She | 1b0b180 | 2023-08-25 23:05:19 -0700 | [diff] [blame] | 20 | 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 She | da2c9cd | 2023-08-25 23:17:49 -0700 | [diff] [blame] | 39 | basedir: tf-ci-scripts |
Arthur She | 1b0b180 | 2023-08-25 23:05:19 -0700 | [diff] [blame] | 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 |
| 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 She | da2c9cd | 2023-08-25 23:17:49 -0700 | [diff] [blame] | 53 | wrappers: |
| 54 | - credentials-binding: |
| 55 | - text: |
| 56 | credential-id: openci-bot-github-token |
| 57 | variable: AUTH_TOKEN |