summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/github_autoreply_bot.py2
-rwxr-xr-xci/run_github_autoreply.sh8
-rw-r--r--tf-github-autoresponse.yaml4
3 files changed, 7 insertions, 7 deletions
diff --git a/ci/github_autoreply_bot.py b/ci/github_autoreply_bot.py
index cd8ce66..abb54c9 100755
--- a/ci/github_autoreply_bot.py
+++ b/ci/github_autoreply_bot.py
@@ -70,7 +70,7 @@ if __name__ == "__main__":
parser.add_argument("--repo", required=True, help="GitHub repository")
group = parser.add_mutually_exclusive_group()
group.add_argument("--issue_num", type=int, help="Github issue number")
- group.add_argument("--pr_num", type=int, help="Github pull reuqest number")
+ group.add_argument("--pr_num", type=int, help="Github pull request number")
args = parser.parse_args()
auth = Auth.Token(args.token)
diff --git a/ci/run_github_autoreply.sh b/ci/run_github_autoreply.sh
index 92744b5..2651265 100755
--- a/ci/run_github_autoreply.sh
+++ b/ci/run_github_autoreply.sh
@@ -22,16 +22,16 @@ if [ -n "${github_issue_num}" ]; then
if echo "${BYPASS_ISSUE_RESPONSE_PROJ}" | grep -q "${github_repo_full_name}"; then
echo "No need to respond ${github_repo_full_name} for the issue creation"
exit 0
- else
+ else
opts="${opts} --issue_num ${github_issue_num}"
- fi
+ fi
fi
if [ -n "${github_pr_num}" ]; then
if echo "${BYPASS_PR_RESPONSE_PROJ}" | grep -q "${github_repo_full_name}"; then
echo "No need to respond ${github_repo_full_name} for the PR creation"
exit 0
- else
+ else
opts="${opts} --pr_num ${github_pr_num}"
- fi
+ fi
fi
python3 $(dirname "${BASH_SOURCE[0]}")/github_autoreply_bot.py ${opts}
diff --git a/tf-github-autoresponse.yaml b/tf-github-autoresponse.yaml
index 4ada495..ff82172 100644
--- a/tf-github-autoresponse.yaml
+++ b/tf-github-autoresponse.yaml
@@ -11,7 +11,7 @@
name: BYPASS_ISSUE_RESPONSE_PROJ
description: |
The projects that don't need the issue response
- default: 'TrustedFirmware-A/trusted-firmware-a TrustedFirmware-A/tf-a-ci-scripts TrustedFirmware-A/tf-a-tests'
+ default: 'TrustedFirmware-A/trusted-firmware-a TrustedFirmware-A/tf-a-ci-scripts TrustedFirmware-A/tf-a-tests TF-Hafnium/hafnium'
- string:
name: BYPASS_PR_RESPONSE_PROJ
description: |
@@ -44,7 +44,7 @@
key: github_repo_full_name
value: $.repository.full_name
- type: JSONPath
- key: github_issue_num
+ key: github_issue_num
value: $.issue.number
- type: JSONPath
key: github_pr_num