scripts

command
v1.30.0-alpha.131 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 8 Imported by: 0

README

Dependabot alerts导出到表格

go生成Dependabot alerts导出到表格方法,运行文件:scripts/main.go
github官方文档地址:https://docs.github.com/en/rest/dependabot/alerts?apiVersion=2022-11-28

启动需要添加两个环境变量:
GHToken:github personal access tokens
OrgName:github fork 项目的组织名称,如:github.com/TencentBlueKing/bk-bcs,组织名称则为TencentBlueKing

GHToken生成:
github个人中心 -> Setting -> Developer Settings -> Personal access tokens -> Tokens (classic) -> 将生成的密钥复制下来给GHToken用

启动命令:
GHToken="" OrgName="" go run ./main.go

Documentation

Overview

Package main github dependabot alerts restful api 地址:https://docs.github.com/en/rest/dependabot/alerts?apiVersion=2022-11-28

Directories

Path Synopsis
gen-lint is a program for auto generate .golangci.yml for mod
gen-lint is a program for auto generate .golangci.yml for mod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL