内容简介: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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。