From a8c4921c787f20d4c12195e104d398dbfe9d191e Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Sat, 18 Oct 2025 09:21:00 +0100 Subject: [PATCH] Update mui-migration-tracker.yml Signed-off-by: Charles de Dreuille --- .github/workflows/mui-migration-tracker.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mui-migration-tracker.yml b/.github/workflows/mui-migration-tracker.yml index d0ecb15d80..04a2d7bd79 100644 --- a/.github/workflows/mui-migration-tracker.yml +++ b/.github/workflows/mui-migration-tracker.yml @@ -43,7 +43,7 @@ jobs: cat migration-report.md >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - - name: Post Comment on Issue + - name: Update GitHub Issue uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -51,17 +51,16 @@ jobs: const issueNumber = 31467; const reportBody = process.env.REPORT; - // TEMPORARY: Post as comment for testing (change to issues.update before merging) try { - await github.rest.issues.createComment({ + await github.rest.issues.update({ owner: context.repo.owner, repo: context.repo.repo, issue_number: issueNumber, body: reportBody }); - console.log(`✅ Successfully posted comment on issue #${issueNumber}`); + console.log(`✅ Successfully updated issue #${issueNumber}`); } catch (error) { - console.error(`❌ Error posting comment: ${error.message}`); + console.error(`❌ Error updating issue: ${error.message}`); throw error; }