Skip to content

Commit 785ba50

Browse files
authored
Merge branch 'develop' into feature/show-current-poll-comment-on-alert
2 parents 7d0d351 + dcc3d87 commit 785ba50

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ end
220220

221221
desc 'Builds the latest version of Demo app and uploads it to TestFlight'
222222
lane :swiftui_testflight_build do |options|
223-
is_manual_upload = is_localhost || !options[:configuration].to_s.empty?
223+
is_manual_upload = is_localhost || ENV['GITHUB_EVENT_NAME'] == 'workflow_dispatch'
224224
configuration = options[:configuration].to_s.empty? ? 'Release' : options[:configuration]
225225

226226
match_me

lefthook.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
pre-commit:
2-
parallel: true
2+
parallel: false
33
jobs:
4-
- run: bundle exec fastlane run_swift_format
4+
- run: mint run swiftformat --config .swiftformat --exclude '**/Generated', 'Sources/StreamChatSwiftUI/StreamNuke', 'Sources/StreamChatSwiftUI/StreamSwiftyGif' {staged_files}
5+
glob: "*.{swift}"
6+
stage_fixed: true
7+
skip:
8+
- merge
9+
- rebase
10+
11+
- run: mint run swiftlint lint --config .swiftlint.yml --fix --progress --quiet --reporter json {staged_files}
12+
glob: "*.{swift}"
13+
stage_fixed: true
14+
skip:
15+
- merge
16+
- rebase
17+
18+
- run: mint run swiftlint lint --config .swiftlint.yml --strict --progress --quiet --reporter json {staged_files}
519
glob: "*.{swift}"
620
stage_fixed: true
721
skip:

0 commit comments

Comments
 (0)