chore: revise github actions (#13612)

* chore: rename actions

* chore: fix path maintainer build

* feat: prepare script for node20

* chore: fix semgrep cant access secret
This commit is contained in:
Tony
2023-10-22 19:44:46 +00:00
committed by GitHub
parent 74fb6c6db9
commit 475372751f
34 changed files with 150 additions and 123 deletions

View File

@@ -44,6 +44,9 @@ async function parseBodyRoutes(body, core) {
}
async function getMaintainersByRoutes(routes, core) {
// TODO: change me when https://github.com/actions/github-script is run on node20
// const response = await fetch(maintainerURL);
// const maintainers = await response.json();
const maintainers = await got(maintainerURL).json();
return routes.map((e) => {