Skip to content

Commit c8d320e

Browse files
committed
ci: execute from releases only
1 parent c0318b9 commit c8d320e

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

Diff for: .github/workflows/split_monorepo.yaml

+7-11
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: split-monorepo
22
on:
33
release:
44
types: [published]
5-
push:
6-
branches:
7-
- split
85

96
jobs:
107
split-repositories:
@@ -17,12 +14,12 @@ jobs:
1714
# 2: Name of subdirectory (e.g. providers/*Flagd*)
1815
config:
1916
- [hook, dd-trace, DDTrace]
20-
# - [hook, otel, OpenTelemetry]
21-
# - [hook, validator, Validators]
22-
# - [provider, cloudbees, CloudBees]
23-
# - [provider, flagd, Flagd]
24-
# - [provider, split, Split]
25-
# - [provider, go-feature-flag, GoFeatureFlag]
17+
- [hook, otel, OpenTelemetry]
18+
- [hook, validator, Validators]
19+
- [provider, cloudbees, CloudBees]
20+
- [provider, flagd, Flagd]
21+
- [provider, split, Split]
22+
- [provider, go-feature-flag, GoFeatureFlag]
2623
steps:
2724
- name: checkout
2825
run: |
@@ -37,9 +34,8 @@ jobs:
3734
input_ref="refs/tags/$input_ref"
3835
target_ref="$(echo -n "$input_ref"|sed 's#open-feature/${{ matrix.config[1] }}-${{ matrix.config[0] }}-##')"
3936
fi
40-
4137
echo "::set-output name=result::${target_ref}"
42-
- name: push-hook-dd-trace
38+
- name: filter-and-push-package-${{ matrix.config[1] }}-${{ matrix.config[0] }}
4339
uses: tcarrio/[email protected]
4440
with:
4541
privateKey: ${{ secrets.SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)