actionsdesk / behest Goto Github PK
View Code? Open in Web Editor NEWExecute functions from GitHub Issue comments
License: MIT License
Execute functions from GitHub Issue comments
License: MIT License
Getting this down so I don't forget it.
The action.yml file is missing the teams
input and looks like it could be updated for this action in a couple other ways.
https://github.com/ActionsDesk/behest/blob/master/action.yml
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.
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
Would it be useful to have commands similar to Dependabot?
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.
/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 userA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.