From 0fe4900dd2f0c6f2882be452b9c07df12a588dcc Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 25 Jun 2025 20:28:08 -0400 Subject: [PATCH] .github: Workflow to trigger jobs on PR comment Signed-off-by: David Galloway --- .github/workflows/pr-comment-dispatcher.yml | 58 +++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .github/workflows/pr-comment-dispatcher.yml diff --git a/.github/workflows/pr-comment-dispatcher.yml b/.github/workflows/pr-comment-dispatcher.yml new file mode 100644 index 0000000000000..176db804b06ef --- /dev/null +++ b/.github/workflows/pr-comment-dispatcher.yml @@ -0,0 +1,58 @@ +name: PR Comment Dispatcher + +on: + issue_comment: + types: [created] + +permissions: + contents: read + pull-requests: read + +jobs: + trigger-all-make-check: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test all' + jenkins_job: 'ceph-pull-requests' + + trigger-all-make-check-arm64: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test all' + jenkins_job: 'ceph-pull-requests-arm64' + + trigger-all-windows: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test all' + jenkins_job: 'ceph-windows-pull-requests' + + trigger-all-api: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test all' + jenkins_job: 'ceph-api' + + trigger-make-check: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test make check' + jenkins_job: 'ceph-pull-requests' + + trigger-make-check-arm64: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test make check arm64' + jenkins_job: 'ceph-pull-requests-arm64' + + trigger-windows: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test windows' + jenkins_job: 'ceph-windows-pull-requests' + + trigger-api: + uses: ./.github/workflows/trigger-jenkins-on-comment.yml + with: + trigger_phrase: 'jenkins test api' + jenkins_job: 'ceph-api' -- 2.39.5