Skip to content

Commit

Permalink
fix: add noRefs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Oct 31, 2023
1 parent 3fbfd6e commit 9147631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const build = async () => {
const yamlWorkflowPath = path.join(".github", "workflows", `${name}.yml`);
log(`Writing to ${relativePath(yamlWorkflowPath)}:`);

const content = jsYaml.dump(exportedWorkflows[name]);
const content = jsYaml.dump(exportedWorkflows[name], { noRefs: true });
log("%s", `\n${content}`);

fs.writeFileSync(yamlWorkflowPath, [TOP_YAML_WORKFLOW_COMMENT, content].join("\n"));
Expand Down

0 comments on commit 9147631

Please sign in to comment.