Skip to content

Commit d10c272

Browse files
committed
Simplify json body
1 parent 4cd4b99 commit d10c272

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/react-tests-dispatcher.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,5 @@ jobs:
1919
-H "Content-Type: application/json" \
2020
-H "Authorization: token ${{ secrets.WRITE_DETECTION_RULES_REACT_TOKEN }}" \
2121
"https://api.github.com/repos/elastic/react/actions/workflows/$REACT_WORKFLOW_ID/dispatches" \
22-
-d '{
23-
"ref": "main",
24-
"inputs": {
25-
"pr_branch": "${{ github.head_ref || github.ref_name }}",
26-
"pr_id": "${{ github.event.number }}",
27-
}
28-
}'
22+
-d '{"ref": "main", "inputs": {"pr_branch": "${{ github.head_ref || github.ref_name }}", "pr_id": "${{ github.event.number }}"}}'
2923
exit $?

0 commit comments

Comments
 (0)