From b0179e6433f08504a4ab7c6a72b87d37a86c27f5 Mon Sep 17 00:00:00 2001 From: ryuadmin Date: Tue, 5 May 2026 07:50:58 +0000 Subject: [PATCH] [ci skip] Improve logging for PR build comment step. --- .forgejo/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 13f949594..98eeb759a 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -221,11 +221,11 @@ jobs: const run_id = ${{ env.FORGEJO_RUN_ID }}; const issue_number = ${{ forgejo.event.pull_request.number }}; - core.info(`Using pull request ${issue_number}`); + core.info(`Using run ID ${run_id} from pull request ${issue_number}`); const {data: {artifacts}} = await forgejo.rest.actions.listWorkflowRunArtifacts({owner, repo, run_id}); if (artifacts == undefined || !artifacts.length) { - return core.error(`No artifacts found`); + return core.error(`No artifacts found for run ID`); } let body = `Download the artifacts for this pull request:\n`; for (const art of artifacts) {