Closed dbirks closed 3 years ago
Merging #116 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #116 +/- ##
=======================================
Coverage 86.59% 86.59%
=======================================
Files 9 9
Lines 261 261
=======================================
Hits 226 226
Misses 26 26
Partials 9 9
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ba30738...5fd2532. Read the comment docs.
I am not sure, but I think that github.event.pull_request and all nested values won't exist when CI runs for something not coming from a Pull Request.
Oh you're right, then ''
will not equal ContainerSolutions/externalsecret-operator
, and it won't push the image.
I'll go back and look at your original comment...
Ok, I think this now covers everything;
Ah, it looks like the checks are failing because github.event
is an object, and doesn't equal pull_request
. Looks like github.event_name
is what I want. Trying that...
Nice! Let's see with it merging now :)
Addresses #115
I started adding another condition to that
if
statement, but noticed it would be less complex to setPUSH_IMAGE
to true by default, and only make it false if the PR head is notContainerSolutions/externalsecret-operator
. How does that sound?