File tree 3 files changed +24
-18
lines changed
3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : Bump version
2
+ name : Bump
3
3
on :
4
+ workflow_call :
4
5
workflow_dispatch :
5
6
inputs :
6
7
name :
7
8
description : Version to bump (major, minor, patch)
8
9
default : patch
9
10
required : true
10
- pull_request :
11
- branches : humble
12
- types : [closed]
13
11
14
12
jobs :
15
- industrial_ci :
16
- name : Industrial CI
17
- uses : ./.github/workflows/industrial_ci.yaml
18
-
19
13
get-bump :
20
14
name : Get version bump
21
15
runs-on : ubuntu-latest
22
- needs : industrial_ci
23
16
outputs :
24
17
bump : ${{ env.BUMP }}
25
18
steps :
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : CI
3
+
4
+ on :
5
+ push :
6
+
7
+ jobs :
8
+ tests :
9
+ name : Tests
10
+ uses : ./.github/workflows/tests.yaml
11
+
12
+ bump :
13
+ name : Bump
14
+ needs : tests
15
+ if : ${{ (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || github.event_name
16
+ == 'workflow_dispatch' }}
17
+ uses : ./.github/workflows/bump.yaml
Original file line number Diff line number Diff line change 1
1
---
2
- name : Industrial CI
2
+ name : Tests
3
3
on :
4
- workflow_call :
5
- workflow_dispatch :
6
- push :
4
+ workflow_call :
5
+ workflow_dispatch :
7
6
8
7
jobs :
9
8
black :
@@ -26,13 +25,10 @@ jobs:
26
25
- name : Spellcheck
27
26
uses : rojopolis/spellcheck-github-actions@0.33.1
28
27
29
- ros_industrial_ci :
30
- name : ROS Industrial CI
28
+ industrial_ci :
29
+ name : Industrial CI
31
30
runs-on : ubuntu-22.04
32
31
timeout-minutes : 30
33
- needs :
34
- - black
35
- - spellcheck
36
32
strategy :
37
33
fail-fast : false
38
34
matrix :
You can’t perform that action at this time.
0 commit comments