ActionsPanel – Manually Trigger Your GitHub Actions

栏目: IT技术 · 发布时间: 4年前

内容简介:Hi all!I wanted to share a small project that I've been working on with a buddy.https://www.actionspanel.app/

Hi all!

I wanted to share a small project that I've been working on with a buddy.

https://www.actionspanel.app/

One of the problems that currently exists with GitHub Actions is the fact that there is no way to easily trigger your Actions unless you cause some kind of GitHub event. This could be pushing a new commit, or creating an issue on a repository. But if you just want to run an arbitrary action, there's not currently a good way to do that.

This is a well known feature request: https://github.community/t5/GitHub-Actions/GitHub-Actions-Manual-Trigger-Approvals/td-p/31504

GitHub somewhat recently added an API for `repository_dispatch` which is an available trigger for a GitHub Action. There are many blog posts that explain how you can create a Personal Access Token to send your own `repository_dispatch` via some curl command or postman request.

For example: https://goobar.io/2019/12/07/manually-trigger-a-github-actions-workflow/

ActionsPanel uses this same API but does so with a GitHub App token so that you don't need to worry about managing your own PAT. This also makes it much easier to trigger your actions across teams with multiple people. Then you don't need to share the PAT with each other or each create your own PATs.

You configure your buttons with a declarative yaml file that you leave in the repo, and ActionsPanel will read that file and dynamically create your UI for you to trigger your actions.

We'd love to get your feedback on this project. It's very simple still but solves the core problem of triggering your actions.

If you do have feedback or any questions, feel free to post in this thread, or email us directly at support (at) actionspanel (dot) app

Looking forward to your feedback!


以上所述就是小编给大家介绍的《ActionsPanel – Manually Trigger Your GitHub Actions》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

一目了然

一目了然

Robert Hoekman, Jr. / 段江玲 / 机械工业出版社华章公司 / 2012-3-19 / 59.00元

可用性或易用性是软件或Web设计师的重要设计目标之一。本书深入阐述了如何设计出简单易用的基于Web的软件,以帮助读者理解、掌握显性设计的精髓。作者从软件开发初期谈起,一直到软件设计后期,分析诸多案例并论证了自己的见解或设计原则。本书在第1版的基础上进行了重大改进,尤其是在设计思想上,作者在本书中谈到“以用户为中心的设计”、“以任务为中心的设计”以及“以情景为中心的设计”的理念。这种设计理念也将更直......一起来看看 《一目了然》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试