Giter Site home page Giter Site logo

Comments (8)

bluekeyes avatar bluekeyes commented on May 26, 2024 2

Right, the actual values used for approval are fully configurable using the methods section of options (defaults below):

  methods:
    comments:
      - ":+1:"
      - "👍"
    github_review: true

You can also only accept GitHub reviews for approval.

from policy-bot.

gregakinman avatar gregakinman commented on May 26, 2024 1

Even if 👍 is the whole comment, it's definitely not obvious.

It's how I accidentally merged and released a PR that definitely shouldn't have been merged and released, just by trying to ack somebody else's comment.

from policy-bot.

alec-heif avatar alec-heif commented on May 26, 2024 1

it's a very weird feeling to have to worry about my choice of emoji so as to prevent accidentally releasing code.

from policy-bot.

bkrieger avatar bkrieger commented on May 26, 2024

CC @iamdanfox

from policy-bot.

iamdanfox avatar iamdanfox commented on May 26, 2024

So as a short-term remediation, we can just explicitly declare the type of approvals we consider valid in the the foundry default policy and override the defaults, maybe it should be a string like ==LGTM== or ==APPROVED== so it's hard to misfire?

from policy-bot.

gregakinman avatar gregakinman commented on May 26, 2024

Why allow anything but an actual approval?

from policy-bot.

alec-heif avatar alec-heif commented on May 26, 2024

bumping this issue. now that standardization PRs have been rolled out across the board, it's quite a bit harder to know how and where to make changes to override these defaults.

combined with the fact that our automation has achieved impressive levels of sentience (via eggtimer, bulldozer, canaries, etc), this means that an accidental 👍 comment made by someone could have pretty far-reaching effects.

can we please have the default changed to something safer? I like the ==LGTM== idea above.

from policy-bot.

asvoboda avatar asvoboda commented on May 26, 2024

Moving internally since this is a discussion on a specific policy file and not the bot itself.

from policy-bot.

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.