Skip to content

Commit 508ae91

Browse files
authored
style: improve markdown formatting in safe outputs messages (#11179)
1 parent f7cc7b3 commit 508ae91

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

pkg/campaign/generator.go

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -131,24 +131,22 @@ func buildGeneratorSafeOutputs() *workflow.SafeOutputsConfig {
131131
AppendOnlyComments: true,
132132
RunStarted: "### :rocket: Campaign setup started\n\n" +
133133
"Creating a tracking Project and generating campaign files + orchestrator workflow.\n\n" +
134-
"No action needed right now — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\n\n" +
135-
"> To stop this run: remove the label that started it.\n" +
136-
"> Docs: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/",
134+
"No action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\n\n" +
135+
"> To stop this run: remove the label that started it.\n\n" +
136+
"> **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/",
137137
RunSuccess: "### :white_check_mark: Campaign setup complete\n\n" +
138138
"Tracking Project created and pull request with generated campaign files is ready.\n\n" +
139-
"Next steps:\n" +
140-
"- Review + merge the PR\n" +
141-
"- Run the campaign from the Actions tab\n\n" +
142-
"> Docs: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/",
139+
"**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\n\n" +
140+
"> **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/",
143141
RunFailure: "### :x: Campaign setup {status}\n\n" +
144-
"Common causes:\n" +
145-
"- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\n" +
142+
"**Common causes**:\n\n" +
143+
"- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\n\n" +
146144
"- Token lacks access to GitHub Projects\n\n" +
147-
"Action required:\n" +
148-
"- Fix the first error in the logs\n" +
145+
"**Action required**:\n\n" +
146+
"- Fix the first error in the logs\n\n" +
149147
"- Re-apply the label to re-run\n\n" +
150-
"> Troubleshooting: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\n" +
151-
"> Docs: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/",
148+
"> **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\n\n" +
149+
"> **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/",
152150
},
153151
}
154152
}

0 commit comments

Comments
 (0)