Giter VIP home page Giter VIP logo

Comments (6)

rytswd avatar rytswd commented on June 4, 2024 1

@yuriydzobak Thanks very much for further details!
I have created a PR for fixing this. We will look to get this merged in the coming days, and cut a new patch release right after πŸ‘

from merge-gatekeeper.

rytswd avatar rytswd commented on June 4, 2024

Hi @yuriydzobak, thanks for raising the issue! πŸ‘

Merge Gatekeeper looks at the GitHub Action status, and is specifically looking for a state called error in the current implementation. How do you have your atlantis/plan job configured / triggered, and do you see some other status with it?

For further investigation, we may need to add an external flag for verbose logging, so that we can pinpoint what's happening with the actual job input. I believe the actual fix for this would be simply to catch other statuses, so that should be straightforward. We will look to see what we can do from our end, but if you can help fill in some details above, it would allow us to get a patch release for your specific use case quickly πŸ™

from merge-gatekeeper.

yuriydzobak avatar yuriydzobak commented on June 4, 2024

Hi @rytswd

Hi @yuriydzobak, thanks for raising the issue! πŸ‘

Merge Gatekeeper looks at the GitHub Action status, and is specifically looking for a state called error in the current implementation. How do you have your atlantis/plan job configured / triggered, and do you see some other status with it?

webhook configuration -> link

For further investigation, we may need to add an external flag for verbose logging, so that we can pinpoint what's happening with the actual job input. I believe the actual fix for this would be simply to catch other statuses, so that should be straightforward. We will look to see what we can do from our end, but if you can help fill in some details above, it would allow us to get a patch release for your specific use case quickly πŸ™

If i understand correct it sends this and you are validating this one

from merge-gatekeeper.

yuriydzobak avatar yuriydzobak commented on June 4, 2024

I've reproduced the issue
if the status of commit is failure then gatekeeper doesn't see it
If the status of commit is error then all works

doc: https://docs.github.com/en/rest/commits/statuses#create-a-commit-status
The state of the status. - Can be one of: error, failure, pending, success
gatekeeper doesn't have logic to check failure

from merge-gatekeeper.

yuriydzobak avatar yuriydzobak commented on June 4, 2024

I've checked from your branch and all works as expected
Thank you very much

from merge-gatekeeper.

rytswd avatar rytswd commented on June 4, 2024

Thanks for testing! v1.1.1 has been released with the above fix ☺️
We will update the relevant major and minor version tags (v1 and v1.1) in the coming days as well.

from merge-gatekeeper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.