File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,17 @@ platform :ios do
138
138
end
139
139
end
140
140
141
+ # ------------------------------------------------------------
142
+ # RUN GITLEAKS FOR SECET LEAKS SCAN
143
+ # ------------------------------------------------------------
144
+ desc "RUN GITLEAKS FOR SECET LEAKS SCAN"
145
+ lane :check_leaks do
146
+ puts "👉 Run Gitleaks for leaks scan"
147
+
148
+ # If there are violations, non 0 error be returned by swiftlint, making Fastlane fail (expected)
149
+ sh "cd .. && gitleaks detect -v -l debug --source ."
150
+ end
151
+
141
152
# ------------------------------------------------------------
142
153
# UPDATE BUILD NUMBER WITH TIMESTAMP
143
154
# ------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -47,6 +47,14 @@ RUN SWIFT LINT TO CHECK SMELLS
47
47
48
48
RUN LICENSEPLIST TO UPDATE LIST OF THIRD PARTIES
49
49
50
+ ### ios check_leaks
51
+
52
+ ``` sh
53
+ [bundle exec] fastlane ios check_leaks
54
+ ```
55
+
56
+ RUN GITLEAKS FOR SECET LEAKS SCAN
57
+
50
58
### ios update_build_number
51
59
52
60
``` sh
You can’t perform that action at this time.
0 commit comments