Skip to content

Commit fb12e4a

Browse files
committed
ci(workflows): [ci] make jobs dependant on gitguardian
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent abadb89 commit fb12e4a

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
105105
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
106106
format:
107-
needs: metadata
107+
needs: gitguardian
108108
runs-on: ubuntu-latest
109109
steps:
110110
- id: checkout
@@ -129,7 +129,7 @@ jobs:
129129
name: Check code formatting
130130
run: yarn check:format
131131
lint:
132-
needs: metadata
132+
needs: gitguardian
133133
runs-on: ubuntu-latest
134134
steps:
135135
- id: checkout
@@ -154,7 +154,7 @@ jobs:
154154
name: Check lint status
155155
run: yarn check:lint
156156
spelling:
157-
needs: metadata
157+
needs: gitguardian
158158
runs-on: ubuntu-latest
159159
steps:
160160
- id: checkout
@@ -179,7 +179,9 @@ jobs:
179179
name: Check spelling
180180
run: yarn check:spelling
181181
typescript:
182-
needs: metadata
182+
needs:
183+
- gitguardian
184+
- metadata
183185
runs-on: ubuntu-latest
184186
strategy:
185187
fail-fast: false
@@ -223,7 +225,7 @@ jobs:
223225
name: Run typecheck
224226
run: yarn typecheck
225227
test:
226-
needs: metadata
228+
needs: gitguardian
227229
runs-on: ubuntu-latest
228230
strategy:
229231
fail-fast: false
@@ -276,7 +278,9 @@ jobs:
276278
GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
277279
GITHUB_WORKSPACE: ${{ github.workspace }}
278280
build:
279-
needs: metadata
281+
needs:
282+
- gitguardian
283+
- metadata
280284
runs-on: ubuntu-latest
281285
steps:
282286
- id: checkout

0 commit comments

Comments
 (0)