GHA workflow_dispatch

Add missing info in workflow_dispatch actions

目前為 2021-11-20 提交的版本,檢視 最新版本

作者
rehangit
評價
0 0 0
版本
0.1.5
建立日期
2021-11-19
更新日期
2021-11-20
尺寸
3.9 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或关注我们的公众号极客氢云获取最新地址