From 9753a858061c18078f01352a97225f63057eb248 Mon Sep 17 00:00:00 2001 From: gbayarri Date: Tue, 7 Jan 2025 16:32:08 +0100 Subject: [PATCH] New pr-tests GH action --- .github/workflows/pr-tests.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 5123dfcf..23eb4679 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -72,15 +72,13 @@ jobs: uses: actions/github-script@v6 with: script: | - const { context } = github; const comment = ` ✅ Tests Passed! - - Run ID: ${context.runId} - - Job ID: ${context.job}`; + - Run ID: ${github.context.runId} + - Job ID: ${github.context.job}`; await github.rest.issues.createComment({ - ...context.repo, - issue_number: context.issue.number, + ...github.context.repo, + issue_number: github.context.issue.number, body: comment - }); - + });