From 425d0be4e359e13bfb485269d3c9d7e0c8e66384 Mon Sep 17 00:00:00 2001 From: Ron Ben Moshe Date: Thu, 21 Nov 2024 18:08:22 +0200 Subject: [PATCH] [SW-201504] Adding Test Trigger (#533) --- .github/workflows/trigger_jenkins.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/trigger_jenkins.yml diff --git a/.github/workflows/trigger_jenkins.yml b/.github/workflows/trigger_jenkins.yml new file mode 100644 index 0000000000000..e809a96d99152 --- /dev/null +++ b/.github/workflows/trigger_jenkins.yml @@ -0,0 +1,16 @@ +name: Trigger Jenkins Tests +on: + pull_request_target: + types: [opened, reopened, edited] + +permissions: + pull-requests: write +jobs: + TriggerJenkinsTests: + runs-on: ubuntu-latest + steps: + - name: Trigger Jenkins Tests + run: | + curl -XPOST -H "Content-Type: application/json" \ + ${{ secrets.WEBHOOK_URL }} \ + -d "${{ toJson(github.event.payload) }}"