github_repo_statistics 2.2.8 → 2.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/github_repo_statistics/force_merge_report.rb +3 -3
- data/lib/github_repo_statistics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f245b6049e774db333ca34b3adca5a17f88e4f3af89cbca24b51f4cbb348698b
|
4
|
+
data.tar.gz: 54f0ff2e46b91d01a37f0f37a753d3e142f45d4e1453b582e0fb06afafa96648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c8744737e5f77bb61cc94d377f27f0b3441b55ca675810524fad0627f8580197ab4184d3b7539db448fef19dbcd22219b3bb9f253e2437418a706c2a8ef576b
|
7
|
+
data.tar.gz: 5b3a2cfc158deaf6a867324851fab66f04ccb0bfbb4be6499bc375d1708fb37bc0c5c3979010e0ba953d28c2272729e1a254d6859f22d7765724fea884d249cf
|
data/Gemfile.lock
CHANGED
@@ -52,9 +52,9 @@ class ForceMergeReport
|
|
52
52
|
|
53
53
|
# Filter checks without meeting the required status checks
|
54
54
|
failed_checks = all_checks.reject { |check| check.conclusion == 'success' || check.state == 'success' }
|
55
|
-
|
55
|
+
|
56
56
|
failed_checks.select! do |check|
|
57
|
-
['Mergeable: Size check', 'SonarQube Code Analysis'
|
57
|
+
['UI Tests', 'Unit Tests'].include?(check.context) || ['Mergeable: Size check', 'SonarQube Code Analysis'].include?(check.name)
|
58
58
|
end
|
59
59
|
|
60
60
|
# Update monthly summary
|
@@ -90,7 +90,7 @@ class ForceMergeReport
|
|
90
90
|
summary[:workflows].each do |workflow, count|
|
91
91
|
puts " - #{workflow}: #{count}"
|
92
92
|
end
|
93
|
-
|
93
|
+
ENV['BQ_CREDENTIALS'] = `cat /Users/serghei.moret/.config/gcloud/application_default_credentials.json`
|
94
94
|
if ENV['BQ_CREDENTIALS']
|
95
95
|
require "google/cloud/bigquery"
|
96
96
|
require "json"
|