This commit is contained in:
lxk0301
2021-01-16 17:10:19 +08:00
parent 4c5c9d512b
commit 098f009398
98 changed files with 609 additions and 587 deletions

View File

@ -1,14 +1,14 @@
/*
* @Author: lxk0301 https://github.com/lxk0301
* @Author: LXK9301 https://github.com/LXK9301
* @Date: 2020-10-24 18:53:29
* @Last Modified by: lxk0301
* @Last Modified by: LXK9301
* @Last Modified time: 2020-11-05 18:54:13
*/
const $ = new Env('Webhook触发Action');
let ACTIONS_TRIGGER_TOKEN = '';//Personal access tokens申请教程:https://www.jianshu.com/p/bb82b3ad1d11 记得勾选repo权限就行
let TRIGGER_KEYWORDS = '';//.github/workflows/路径里面yml文件里面repository_dispatch项目的types值例如jd_fruit.yml里面的值为fruit
let githubUser = '';//github用户名例:lxk0301
let githubUser = '';//github用户名例:LXK9301
let repo = '';//需要触发的 Github Action 所在的仓库名称 例:scripts
!(async () => {