Skip to content

Commit 5123f49

Browse files
committed
docs: add artifact download link to quality gate failure summary
1 parent 3f8d923 commit 5123f49

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/docs-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ jobs:
247247
"https://github.com/generative-computing/mellea/blob/main"
248248
"/docs/docs/guide/CONTRIBUTING.md"
249249
)
250+
REPO = "${{ github.repository }}"
251+
RUN_ID = "${{ github.run_id }}"
252+
ARTIFACT_URL = f"https://github.com/{REPO}/actions/runs/{RUN_ID}#artifacts"
250253
251254
lines = [
252255
"## Docs Build — Validation Summary\n",
@@ -266,7 +269,8 @@ jobs:
266269
lines += [
267270
"> ❌ **Docstring quality gate failed.** "
268271
f"See the [CI docstring checks reference]({CONTRIB_URL}#ci-docstring-checks-reference) "
269-
"for per-kind fix instructions, or expand **Docstring quality details** below for the full list.",
272+
"for per-kind fix instructions, or expand **Docstring quality details** below for the full list. \n"
273+
f"> The full machine-readable report is available as the [`docstring-quality-report` artifact]({ARTIFACT_URL}).",
270274
"",
271275
]
272276

0 commit comments

Comments
 (0)