mirror of https://github.com/status-im/consul.git
Trigger OSS => ENT merge for all release branches (#17853)
Previously, this only triggered for release/*.*.x branches; however, our release process involves cutting a release/1.16.0 branch, for example, at time of code freeze these days. Any PRs to that branch after code freeze today do not make their way to consul-enterprise. This will make behavior for a .0 branch consistent with current behavior for a .x branch.
This commit is contained in:
parent
f16c5d87ab
commit
1f636715d0
|
@ -8,7 +8,7 @@ on:
|
||||||
- closed
|
- closed
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'release/*.*.x'
|
- release/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
trigger-oss-merge:
|
trigger-oss-merge:
|
||||||
|
@ -26,4 +26,4 @@ jobs:
|
||||||
curl -H "Authorization: token $GH_PAT" \
|
curl -H "Authorization: token $GH_PAT" \
|
||||||
-H 'Accept: application/json' \
|
-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\": \"oss-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \
|
||||||
"https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"
|
"https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"
|
||||||
|
|
Loading…
Reference in New Issue