0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2025-07-13 04:30:48 +08:00
This commit is contained in:
严浩
2024-10-16 10:03:05 +08:00
parent e6b640878a
commit a4e33984b7
2 changed files with 10 additions and 1 deletions

View File

@ -18,3 +18,11 @@ const filecontent = fs.readFileSync(path.join(__dirname, "file.txt"), "utf8");
const regex = "# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+):(?<currentValue>\\S+)@(?<currentDigest>\\S+)";
extractMatchResult(regex, filecontent);
})();
(() => {
const regex = "^\\.github/workflows/[^/]+\\.ya?ml$";
extractMatchResult(regex, ".github/workflows/中 | 文 : 文件名.yaml");
})();
// TODO: run.mjs regex file