mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Integration tests workflow event triggering quick fix (#4031)
This commit is contained in:
parent
a6a8f4b142
commit
881d10354f
6
.github/workflows/integration-tests-pr.yml
vendored
6
.github/workflows/integration-tests-pr.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
run: |
|
||||
curl \
|
||||
--location \
|
||||
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.sha }}' \
|
||||
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.event.pull_request.head.sha }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data '{"state": "pending",
|
||||
"context": "Go / integration-tests",
|
||||
@ -158,7 +158,7 @@ jobs:
|
||||
then
|
||||
curl \
|
||||
--location \
|
||||
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.sha }}' \
|
||||
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.event.pull_request.head.sha }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data '{"state": "success",
|
||||
"context": "Go / integration-tests",
|
||||
@ -168,7 +168,7 @@ jobs:
|
||||
else
|
||||
curl \
|
||||
--location \
|
||||
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.sha }}' \
|
||||
--request POST 'https://api.github.com/repos/SAP/jenkins-library/statuses/${{ github.event.pull_request.head.sha }}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data '{"state": "failure",
|
||||
"context": "Go / integration-tests",
|
||||
|
Loading…
Reference in New Issue
Block a user