Skip to content

Commit

Permalink
[SW-201504] Add Jenkins Tests Trigger (HabanaAI#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
RonBenMosheHabana authored Nov 22, 2024
1 parent 425d0be commit 0d153cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/trigger_jenkins.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Trigger Jenkins Tests
on:
pull_request_target:
types: [opened, reopened, edited]
pull_request:
types: [opened, reopened, edited, synchronize]

permissions:
pull-requests: write
Expand All @@ -11,6 +11,6 @@ jobs:
steps:
- name: Trigger Jenkins Tests
run: |
curl -XPOST -H "Content-Type: application/json" \
${{ secrets.WEBHOOK_URL }} \
-d "${{ toJson(github.event.payload) }}"
curl -XPOST -H "Content-Type: application/json" \
"${{ secrets.WEBHOOK_URL }}" \
-d '${{ toJson(github) }}'

0 comments on commit 0d153cf

Please sign in to comment.