TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ActionsPanel – Manually Trigger Your GitHub Actions

57 点作者 abatilo大约 5 年前
Hi all!<p>I wanted to share a small project that I&#x27;ve been working on with a buddy.<p><a href="https:&#x2F;&#x2F;www.actionspanel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.actionspanel.app&#x2F;</a><p>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&#x27;s not currently a good way to do that.<p>This is a well known feature request: <a href="https:&#x2F;&#x2F;github.community&#x2F;t5&#x2F;GitHub-Actions&#x2F;GitHub-Actions-Manual-Trigger-Approvals&#x2F;td-p&#x2F;31504" rel="nofollow">https:&#x2F;&#x2F;github.community&#x2F;t5&#x2F;GitHub-Actions&#x2F;GitHub-Actions-Ma...</a><p>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.<p>For example: <a href="https:&#x2F;&#x2F;goobar.io&#x2F;2019&#x2F;12&#x2F;07&#x2F;manually-trigger-a-github-actions-workflow&#x2F;" rel="nofollow">https:&#x2F;&#x2F;goobar.io&#x2F;2019&#x2F;12&#x2F;07&#x2F;manually-trigger-a-github-actio...</a><p>ActionsPanel uses this same API but does so with a GitHub App token so that you don&#x27;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&#x27;t need to share the PAT with each other or each create your own PATs.<p>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.<p>We&#x27;d love to get your feedback on this project. It&#x27;s very simple still but solves the core problem of triggering your actions.<p>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<p>Looking forward to your feedback!

8 条评论

warmuuh大约 5 年前
you can also use <a href="https:&#x2F;&#x2F;greasyfork.org&#x2F;de&#x2F;scripts&#x2F;394032-github-deployments-and-repository-dispatch-trigger" rel="nofollow">https:&#x2F;&#x2F;greasyfork.org&#x2F;de&#x2F;scripts&#x2F;394032-github-deployments-...</a> which adds a button for repository_dispatch event directly in your repository, no need to visit a 3party page.
评论 #22712580 未加载
评论 #22712695 未加载
评论 #22712558 未加载
csullivan84大约 5 年前
I&#x27;m one of the creators of ActionsPanel. As an early adopter of GitHub Actions, this was an obvious feature gap that made it harder to switch off of other CI&#x2F;CD systems (Jenkins, Circle, etc).<p>It&#x27;s been great having a centralized place for all of our code and deployment related activities. The GitHub Actions ecosystem is maturing quickly and we&#x27;d like to help with that momentum.<p>--Charles
bswinnerton大约 5 年前
Could you also use the repository dispatch custom event? <a href="https:&#x2F;&#x2F;help.github.com&#x2F;en&#x2F;actions&#x2F;reference&#x2F;events-that-trigger-workflows#external-events-repository_dispatch" rel="nofollow">https:&#x2F;&#x2F;help.github.com&#x2F;en&#x2F;actions&#x2F;reference&#x2F;events-that-tri...</a>
评论 #22715122 未加载
soylentgraham大约 5 年前
My biggest problem is having to commit to test changes whilst I&#x27;m writing&#x2F;debugging an action, can this help with that? And if not, does anyone have a good solution for testing an action before committing? If it helps im already using self hosted runners.
评论 #22719431 未加载
eMerzh大约 5 年前
Nice I was looking to test this at work... But not sure if login does not work for me (and my buddy) or something else.... But we kept beeing redirected to the login button
评论 #22713842 未加载
thecodrr大约 5 年前
Hey, very amazing tool. It was one of the features I missed the most. Thanks a lot!
infinitone大约 5 年前
Are Github Actions out of beta? I haven&#x27;t heard any updates about them but i seems its an abandoned feature??
评论 #22719447 未加载
v_paliy大约 5 年前
Nice!
评论 #22712892 未加载