It's pronounced as REE-YO-TA 👻
Passionate about learning, building, and sharing technology.
⚡️ Comvent - Simple control for GitHub Actions workflow with "comment event", allowing you to parse comments with regular expression
License: MIT License
Runtime, Other
Test
Comvent Configuration YAML, Issue Comment Event Handling, Pull Request Comment Event Handling, Runtime
Comment event can pull in a bit more information to control when Comvent is triggered for Pull Request specific use cases.
When an assignee comments to their Issue or Pull Request, s/he can trigger some automation only when they want. This may be useful for automation where the assignee needs to trigger some preview build, etc.
Similar to the assignee, but when a review is requested, reviewers can trigger some other automation such as extra tests that are lengthy to run for each change.
This would be a bit more tricky as finding code owner will require further delving into the associated PR and its affected files. I'd think assignee and reviewer would mostly cover these cases, so I'm not sure if there is a specific need for this.
Comment to this issue with the following one line (no need to wrap in backticks):
/hello-world
You will see an automated comment response in 1 min or so!
This is only a playground 🏞
You can comment on this to see Comvent in action, which uses https://github.com/actions/github-script.
Multiple commands can be issued at once in a single comment, as long as they are provided in separate lines.
Because GitHub Action takes several seconds to initiate the action, you may see up to 1 min delay.
/weather
: automation responds with a comment/hello-world
: automation responds with a comment/echo (.+)$
: automation responds with your comment in (.+)
portion of regexpRef: https://github.com/rytswd/comvent/blob/main/.github/workflows/issue-comment-blacklist-demo.yaml
/random
: automation responds with a comment/today
: automation responds with a comment/httpbin
: automation responds with a commentRef: https://github.com/rytswd/comvent/blob/main/.github/workflows/issue-comment-whitelist-demo.yaml
some abusive content
: If you write a comment including this exact phrase in a single line, you will see the comment being removed via the automation. You will also see a comment about the comment deletion.Ref: https://github.com/rytswd/comvent/blob/main/.github/workflows/abusive-comment-demo.yaml
Comvent Configuration YAML
Support ${{ secrets.some_key }}
notation in keywords[*].value
to pull in extra information from GitHub Secret or Env variable.
version: 0.2.0
trigger: default
keywords:
- name: some-abusive-content
value: ${{secrets.key1}}
- name: advertising
value: ${{secrets.key2}}
Issue Comment Event Handling, Comvent Configuration YAML, Runtime
Add another trigger type of Assignee only. This allows more dynamic updates to who can trigger Comvent to kick off based on each issue.
It is likely that the runtime will need to parse the event payload, which means extra GitHub Action usage, but that is probably a good start.
No response
test
1.0.2 (Default)
No response
test
0.4
Test
No response
No response
When regex group match is used, instead of returning found
for each match, it should return the regex group as the output value returned by comvent.
This allows having a simpler comvent configuration to cover multiple commands in one go.
A 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.