Skip to content

Commit

Permalink
fix: prNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Dec 24, 2024
1 parent 2ce5d69 commit bfccb87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ jobs:
script: |
const url = `${context.serverUrl}//${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`
const urlLink = `[Open](${url})`
const prNumber = ${{ steps.get-pr-number.outputs.result.num }}
const prData = ${{ steps.get-pr-number.outputs.result }}
const { data: comment } = await github.rest.issues.createComment({
issue_number: prNumber,
issue_number: prData.num,
owner: 'web-infra-dev',
repo: 'rsbuild',
body: `⏳ Triggered ecosystem CI: ${urlLink}`
Expand Down

0 comments on commit bfccb87

Please sign in to comment.