Skip to content

Commit 23f6c86

Browse files
fixed event type in repository dispatch event (#22717)
Co-authored-by: github-team-consul-core <github-team-consul-core@hashicorp.com>
1 parent 487b729 commit 23f6c86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ce-merge-trigger.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
# Create the JSON payload using jq for safe escaping
6969
payload=$(jq -n \
70-
--arg event_type "$EVENT_TYPE" \
70+
--arg event_type "oss-merge" \
7171
--arg git_ref "$GIT_REF" \
7272
--arg git_sha "$GIT_SHA" \
7373
--arg git_actor "$GIT_ACTOR" \
@@ -91,5 +91,6 @@ jobs:
9191
curl -v -X POST \
9292
-H "Authorization: token $GH_PAT" \
9393
-H "Accept: application/vnd.github+json" \
94+
-H "Content-Type: application/json" \
9495
-d "$payload" \
9596
"https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"

0 commit comments

Comments
 (0)