Skip to content

Commit 292c8c5

Browse files
committed
Use correct token
1 parent 7b16c9f commit 292c8c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
curl -X POST \
1818
-H "Accept: application/vnd.github.everest-preview+json" \
1919
-H "Content-Type: application/json" \
20-
-H "Authorization: token ${{ secrets.WRITE_REACT_DETECTION_RULES_TOKEN }}" \
20+
-H "Authorization: token ${{ secrets.WRITE_DETECTION_RULES_REACT_TOKEN }}" \
2121
"https://api.github.com/repos/elastic/react/actions/workflows/$REACT_WORKFLOW_ID/dispatches" \
2222
-d '{
2323
"ref": "github.event.pull_request.base.ref",
@@ -26,4 +26,4 @@ jobs:
2626
"pr_id": "${{ github.event.number }}",
2727
}
2828
}'
29-
29+
return $?

0 commit comments

Comments
 (0)