【文件属性】:
文件名称:github-actions-parser::construction:WIP:construction:,GitHub Actions语言服务器的开始,为https提供动力
文件大小:269KB
文件格式:ZIP
更新时间:2021-05-02 09:38:33
github language-server actions TypeScript
github-actions-parser
该软件包为GitHub Actions提供了解析器和与语言服务器相关的各种功能。
自动完成和验证表达式(例如${{ secrets.FOO }} )需要有关包含工作流程的存储库的信息,以及用于进行API调用的经过身份验证的客户端的信息。
用法
一些用法示例:
解析工作流程
// Workflow text
const input = "on: ..."
const workflowDoc = await parse ( {
client , // Authenticated Octokit client. Needs at least `repo`, `actions`, and for org-secrets also org admin permissions
owner : "repository-owner" ,
repo