We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1358862 commit 33fc868Copy full SHA for 33fc868
lib/cli/index.ts
@@ -35,7 +35,12 @@ program.command("build [workflows...]").action(async (args: string[]) => {
35
fs.mkdirSync(githubWorkflowsPath, { recursive: true });
36
fs.writeFileSync(
37
path.join(githubWorkflowsPath, `${filenameWithoutExtension}.yml`),
38
- workflowYml,
+ [
39
+ "# DO NOT EDIT THIS FILE",
40
+ "# This file is automatically generated by ghats (https://www.npmjs.com/package/ghats)",
41
+ `# Edit the workflow in .github/workflows/${filenameWithoutExtension}.ts instead.`,
42
+ workflowYml,
43
+ ].join("\n"),
44
);
45
}
46
});
0 commit comments