Skip to content

Commit 1e16c5e

Browse files
committed
Rename merge trigger
1 parent c902ee2 commit 1e16c5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) HashiCorp, Inc.
22
# SPDX-License-Identifier: MPL-2.0
33

4-
name: Trigger OSS to Enterprise Merge
4+
name: Trigger Community Edition to Enterprise Merge
55
on:
66
pull_request_target:
77
types:
@@ -11,7 +11,7 @@ on:
1111
- release/**
1212

1313
jobs:
14-
trigger-oss-merge:
14+
trigger-ce-merge:
1515
# run this only on merge events in OSS repo
1616
if: ${{ github.event.pull_request.merged && github.repository == 'hashicorp/consul' }}
1717
runs-on: ubuntu-latest
@@ -25,5 +25,5 @@ jobs:
2525
run: |
2626
curl -H "Authorization: token $GH_PAT" \
2727
-H 'Accept: application/json' \
28-
-d "{\"event_type\": \"oss-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \
28+
-d "{\"event_type\": \"ce-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \
2929
"https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"

0 commit comments

Comments
 (0)