From 1e16c5e84c5182ff8105f0cd379fe9f335252dfe Mon Sep 17 00:00:00 2001 From: Semir Patel Date: Thu, 17 Aug 2023 16:08:15 -0500 Subject: [PATCH] Rename merge trigger --- .../{oss-merge-trigger.yml => ce-merge-trigger.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{oss-merge-trigger.yml => ce-merge-trigger.yml} (76%) diff --git a/.github/workflows/oss-merge-trigger.yml b/.github/workflows/ce-merge-trigger.yml similarity index 76% rename from .github/workflows/oss-merge-trigger.yml rename to .github/workflows/ce-merge-trigger.yml index 9146f7bc2214..2507306b4bb0 100644 --- a/.github/workflows/oss-merge-trigger.yml +++ b/.github/workflows/ce-merge-trigger.yml @@ -1,7 +1,7 @@ # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 -name: Trigger OSS to Enterprise Merge +name: Trigger Community Edition to Enterprise Merge on: pull_request_target: types: @@ -11,7 +11,7 @@ on: - release/** jobs: - trigger-oss-merge: + trigger-ce-merge: # run this only on merge events in OSS repo if: ${{ github.event.pull_request.merged && github.repository == 'hashicorp/consul' }} runs-on: ubuntu-latest @@ -25,5 +25,5 @@ jobs: run: | curl -H "Authorization: token $GH_PAT" \ -H 'Accept: application/json' \ - -d "{\"event_type\": \"oss-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \ + -d "{\"event_type\": \"ce-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \ "https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"