Giter VIP home page Giter VIP logo

auto-comment's People

Contributors

adunkman avatar boyney123 avatar jubblerbug avatar psyked avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

auto-comment's Issues

Incorrect Settings File Path in README

Your README file reads ./github/auto-comment.yml for the location of the auto-comment YAML file. I believe it should read ./.github/auto-comment.yml.

Add support for more advanced filtering

Hi I was wondering if there could be support for more advanced filtering.

For example, I only want to auto comment on a pullRequestOpened if the base is equal to a certain branch. This could change how the current configuration is laid out though, spitballing:

pullRequestOpened: 
  base: master
  comment: >
    Thank you for raising your pull request.

    Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

Allow for variables in comment templates

It would be nice to have possibility to include some dynamic variables in comment, like:

  • pull request name
  • pull request id
  • branch and base branch
  • author
    etc.

How to debug?

Hi,

I'm trying to make auto-comment post the /review comment each time a new PR is opened. This is to make https://github.com/imsky/pull-review assign reviewers automatically (it already works ok if adding the comment manually). I installed auto-comment on the organization level (have access to all repos), then added .github/auto-comment.yml to the repo with just one line:

pullRequestOpened: '/review'

Created the PR but nothing happens. How can I troubleshoot the issue?

YML file location not clear

location of the auto-comment.yml file according to:

  • README: .github/auto-commnet.yml
  • probot page: ./github/auto-comment.yml
  • installation config: ./auto-comment.yml

img references:

  • image
  • image
  • image

It would really help users if the location is specified clearly (preferably in the ./.github/ folder)

Add support of label filtering in pullRequestLabeled and issueLabeled

I would like to use the bot in https://github.com/jenkinsci/jenkins in order to automate some messaging in our delivery cycles. For example, I would like the bot to post a message "The pull request is marked as ready for merge. If there is no negative feedback within 24 hours, it will be integrated towards the next weekly release" when a ready-for-merge label is added

It could be a syntax like:

pullRequestLabeled: 
  label: ready-for-merge
  message: >
    The pull request is marked as ready for merge. If there is no negative feedback within 24 hours, it will be integrated towards the next weekly release

CC @daniel-beck @batmat

Why does it require access to code?

As far as I see, "Read access to administration, metadata, and single file" should be enough to configure this app using ".github/auto-comment.yml" file.

"Read access to code" permission disallow this app to be used in private organizations with closed source.

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.