Skip to content

Commit fd9f54e

Browse files
committed
fix: ordered jobs in pipeline
1 parent 75a5bb9 commit fd9f54e

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Opis Deploy
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
4+
workflow_run:
5+
workflows: ["opis_testing"]
6+
types:
7+
- completed
88

99
permissions:
1010
contents: write

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Opis Lint
1+
name: opis_lint
22

33
on:
44
pull_request:
@@ -7,7 +7,7 @@ permissions:
77
contents: read
88

99
jobs:
10-
lint:
10+
lint_job:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: checkout code lint

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
name: Opis Testing
1+
name: opis_testing
22

33
on:
4-
pull_request:
4+
workflow_run:
5+
workflows: ["opis_lint"]
6+
types:
7+
- completed
8+
59

610
permissions:
711
contents: read
812

913
jobs:
10-
test:
14+
test_job:
1115
runs-on: ubuntu-latest
1216

1317
steps:

0 commit comments

Comments
 (0)