Code Monkey home page Code Monkey logo

Comments (3)

tulir avatar tulir commented on August 20, 2024 1

The GitHub bot's synchronize message actually just means some commits were pushed (not necessarily a rebase), but it's a different repo/fork, so github didn't tell anything about those commits, and the bot doesn't download the pull request to find out.

There's a separate thing where the github bot ignores commits that already exist in the same repo, but that comes directly from the webhook data (distinct boolean in the commit data). I'm not sure if gitlab webhooks have a similar feature

from gitlab.

rubdos avatar rubdos commented on August 20, 2024

Is this something we should escalate to GitLab then? I did a quick Google, but didn't find something (in the 5 seconds I searched) related to "distinct" and "webhook" in their 35k issues.

Gitlab has a separate "merge request" webhook that would probably cover my own use case; I don't think it's handled at all in this bot though. I would alter Push Events to only work on master and use merge requests separately.

from gitlab.

tulir avatar tulir commented on August 20, 2024

The new version will only show 5 last commits which should solve this. It's not possible to solve properly like GitHub because GitLab doesn't include any flag similar to distinct (https://gitlab.com/gitlab-org/gitlab/-/issues/30914 is the issue for that I think). Merge request webhooks should work already, but it's basically the same as issue webhooks.

from gitlab.

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.