Skip to content

Commit

Permalink
fix: fix the pr comment last step
Browse files Browse the repository at this point in the history
  • Loading branch information
GangGreenTemperTatum committed Nov 28, 2024
1 parent f850dba commit 56a4fa5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/validate_robopages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,16 @@ jobs:
'',
'Please ensure your contribution follows the required format.',
'',
`🔍 [View Full Validation Details](${runUrl})`,
`[View Full Validation Details](${runUrl})`,
'',
'---',
`Run ID: \`${process.env.GITHUB_RUN_ID}\``,
`Workflow: ${process.env.GITHUB_WORKFLOW}`
].join('\n');
github.rest.pulls.createReview({
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
body: body,
event: 'COMMENT'
});�
issue_number: context.issue.number,
body: body
});

0 comments on commit 56a4fa5

Please sign in to comment.