Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 1f3895a

Browse files
ci: SRE-541: Local workflow call (#1471)
1 parent cc058c9 commit 1f3895a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/cicd_pipeline.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ jobs:
2525
build_bundle:
2626
name: "Build JS Bundle"
2727
if: github.event_name == 'push' || github.event.pull_request.draft == false
28-
uses: heartexlabs/label-studio-frontend/.github/workflows/build_bundle.yml@master
28+
uses: ./.github/workflows/build_bundle.yml
2929
with:
3030
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
3131

3232
build_for_coverage:
3333
name: "Build JS Bundle"
3434
if: github.event_name == 'push' || github.event.pull_request.draft == false
35-
uses: heartexlabs/label-studio-frontend/.github/workflows/build_bundle.yml@master
35+
uses: ./.github/workflows/build_bundle.yml
3636
with:
3737
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
3838
build_for_coverage: true
3939

4040
run_e2e:
4141
name: "Tests"
4242
if: github.event_name == 'push' || github.event.pull_request.draft == false
43-
uses: heartexlabs/label-studio-frontend/.github/workflows/e2e_tests.yml@master
43+
uses: ./.github/workflows/e2e_tests.yml
4444
needs:
4545
- build_for_coverage
4646
with:
@@ -49,7 +49,7 @@ jobs:
4949
run_functional:
5050
name: "Tests"
5151
if: github.event_name == 'push' || github.event.pull_request.draft == false
52-
uses: heartexlabs/label-studio-frontend/.github/workflows/fun_tests.yml@master
52+
uses: ./.github/workflows/fun_tests.yml
5353
needs:
5454
- build_for_coverage
5555
with:
@@ -59,14 +59,14 @@ jobs:
5959
run_unit:
6060
name: "Tests"
6161
if: github.event_name == 'push' || github.event.pull_request.draft == false
62-
uses: heartexlabs/label-studio-frontend/.github/workflows/unit_tests.yml@master
62+
uses: ./.github/workflows/unit_tests.yml
6363
with:
6464
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
6565

6666
run_coverage:
6767
name: "Coverage"
6868
if: github.event_name == 'push' || github.event.pull_request.draft == false
69-
uses: heartexlabs/label-studio-frontend/.github/workflows/tests_coverage.yml@master
69+
uses: ./.github/workflows/tests_coverage.yml
7070
needs:
7171
- run_unit
7272
- run_e2e
@@ -77,6 +77,6 @@ jobs:
7777
run_lint:
7878
name: "Lint"
7979
if: github.event_name == 'push' || github.event.pull_request.draft == false
80-
uses: heartexlabs/label-studio-frontend/.github/workflows/eslint.yml@master
80+
uses: ./.github/workflows/eslint.yml
8181
with:
8282
sha: ${{ github.event.pull_request.head.sha || github.event.after }}

.github/workflows/release-set-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
env:
88
LSF_DIR: 'label-studio-frontend'
9-
TARGET_REPO: 'heartexlabs/label-studio'
9+
TARGET_REPO_NAME: 'label-studio'
1010
LS_DIR: 'label-studio'
1111
NODE: '18'
1212
CACHE_NAME_PREFIX: v1
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
token: ${{ secrets.GIT_PAT }}
8484
fetch-depth: 1
85-
repository: ${{ env.TARGET_REPO }}
85+
repository: "${{ github.repository_owner }}/${{ env.TARGET_REPO_NAME }}"
8686
path: ${{ env.LS_DIR }}
8787

8888
- name: Commit docs

0 commit comments

Comments
 (0)