bard 0.48.0 → 0.48.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bard/ci/github_actions.rb +1 -11
- data/lib/bard/version.rb +1 -1
- data/spec/bard/ci/github_actions_spec.rb +2 -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: d2eaab88a123ab9ab44846344aa5e8e8599af9fb1e1206c48707f34b6df6c5d5
|
4
|
+
data.tar.gz: 9e94cc636d50aeafbdda79e0f7a11962e22f103f0f7ab32f9da5b2fce50e3afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0eddcdcc47879e43e99edde8e4e1ba0b2f645b6221cf5a17a3cfe3478644cec1209578b16939951da85b7860729735219a0f87f653bcc1b3f9ba956724a4882
|
7
|
+
data.tar.gz: cfa32a78dc1c8a4919e6247f69f76aa774709427a673e414364cb20322c4ec7b63c2dd17b054c0e53dcfb45a87b6cd2ba157565e45ada587d54e82ca44fd14c7
|
@@ -91,7 +91,7 @@ class Bard::CLI < Thor
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def success?
|
94
|
-
json["status"] == "success"
|
94
|
+
json["status"] == "completed" && json["conclusion"] == "success"
|
95
95
|
end
|
96
96
|
|
97
97
|
def job
|
@@ -101,16 +101,6 @@ class Bard::CLI < Thor
|
|
101
101
|
def console
|
102
102
|
job.logs
|
103
103
|
end
|
104
|
-
|
105
|
-
# OTHER STATUSES
|
106
|
-
# completed
|
107
|
-
# action_required
|
108
|
-
# cancelled
|
109
|
-
# failure
|
110
|
-
# neutral
|
111
|
-
# skipped
|
112
|
-
# stale
|
113
|
-
# timed_out
|
114
104
|
end
|
115
105
|
|
116
106
|
class Job < Struct.new(:api, :json)
|
data/lib/bard/version.rb
CHANGED