Coder Social home page Coder Social logo

behest's People

Contributors

dependabot[bot] avatar froi avatar jasonmacgowan avatar zkoppert avatar

Stargazers

 avatar

Watchers

 avatar  avatar

behest's Issues

Empty template name should fail the action for issuescreate

We found a small bug when running /issuescreate. If we don't specify a message or template name, we still pass the action but it throws an error which doesn't result in the action failing. Really we should check if a message or template name is actually passed and otherwise throw an error and fail the action.

The error looks like:

(node:2424) UnhandledPromiseRejectionWarning: Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:506:3)
    at tryReadSync (fs.js:331:20)
    at Object.readFileSync (fs.js:368:19)
    at Object.<anonymous> (/home/runner/work/_actions/wenlock/behest/wenlock-add-commands/dist/index.js:6357:23)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/wenlock/behest/wenlock-add-commands/dist/index.js:6265:58)

I'm hoping to have a little time this week to fix that.

Add repo visibility commands

Another common issue we run into is making repos private/public/internal. It would be nice to add that action to our list of commands

Enhanced commands

Would it be useful to have commands similar to Dependabot?

image

Scenario

I want to invite a user to the org and close out the issue where the request is made.

By using the /invite command in the comment I would need to later close the issue when the invite is successful. This format will also limit me to use one command at a time to affect an issue.

Suggestion

/behest <command> and <command>, this way we can string together commands that could effect the issue.

Eg. /behest invite and close, would do the same as /invite with the added outcome of closing the issue when invite is successful.

This functionality might open a bunch of other commands that could be useful later on like:

  • /behest reopen and assign @froi - reopen an issue and assign it to the specified user

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.