GHA workflow_dispatch

Add missing info in workflow_dispatch actions

当前为 2021-11-23 提交的版本,查看 最新版本

作者
rehangit
评分
0 0 0
版本
0.1.6
创建于
2021-11-19
更新于
2021-11-23
大小
3.7 KB
许可证
暂无
适用于

GHA workflow_dispatch Decorator

Latest code: https://gist.github.com/rehangit/58409fc3cca4ec7630487ac13a055b27

Github Actions workflow pages with workflow_dispatch are shown without some important info. This script fills the missing info (such as the branch name and git commit hash) for these workflows via github api calls.

Instructions

Github token

First time it is run it will prompt for a github token to make github api calls. Generate a token with atleast repo access.

Cached responses

All github api call responses are cached locally forever as the payload is not likely to change.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址