File tree Expand file tree Collapse file tree 6 files changed +42
-17
lines changed
Expand file tree Collapse file tree 6 files changed +42
-17
lines changed Original file line number Diff line number Diff line change 1+ name : CI - Push Main
2+ on :
3+ pull_request :
4+ branches :
5+ - ' main'
6+ workflow_dispatch :
7+ jobs :
8+ swiftlint :
9+ name : SwiftLint
10+ uses : ./.github/workflows/lint.yml
11+ secrets : inherit
12+ test :
13+ name : Testing CodeEdit
14+ needs : swiftlint
15+ uses : ./.github/workflows/tests.yml
16+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : CI - Push Main
2+ on :
3+ push :
4+ branches :
5+ - main
6+ workflow_dispatch :
7+ jobs :
8+ swiftlint :
9+ name : SwiftLint
10+ uses : ./.github/workflows/lint.yml
11+ secrets : inherit
12+ test :
13+ name : Testing CodeEdit
14+ needs : swiftlint
15+ uses : ./.github/workflows/tests.yml
16+ secrets : inherit
17+ deploy :
18+ name : Deploying CodeEdit [Prerelease]
19+ needs : [swiftlint, test]
20+ uses : ./.github/workflows/pre-release.yml
21+ secrets : inherit
Original file line number Diff line number Diff line change 11name : SwiftLint
22
33on :
4- pull_request :
5- paths :
6- - ' .github/workflows/swiftlint.yml'
7- - ' .swiftlint.yml'
8- - ' **/*.swift'
4+ workflow_dispatch :
5+ workflow_call :
96
107jobs :
118 SwiftLint :
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ name: Build and Publish Pre-release
22
33on :
44 workflow_dispatch :
5- push :
6- branches :
7- - ' main'
5+ workflow_call :
86
97jobs :
108 pre-release :
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ name: Release Drafter
33on :
44 # Allow running it manually in case we forget to label a PR before merging
55 workflow_dispatch :
6- push :
7- branches :
8- - main
6+ workflow_call :
97
108jobs :
119 update_release_draft :
Original file line number Diff line number Diff line change 11name : Tests
22on :
33 workflow_dispatch :
4- push :
5- branches :
6- - ' main'
7- pull_request :
8- branches :
9- - ' main'
4+ workflow_call :
105jobs :
116 test :
127 name : Testing CodeEdit
You can’t perform that action at this time.
0 commit comments