We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
context
1 parent 35f0a40 commit a16c510Copy full SHA for a16c510
.github/workflows/comment_coverage.yml
@@ -31,9 +31,9 @@ jobs:
31
script: |
32
const response = await github.rest.pulls.list({
33
owner: "${{ github.repository_owner }}",
34
- repo: "${{ github.event.workflow_run.repository.name }}",
+ repo: context.payload.workflow_run.repository.name,
35
state: "open",
36
- head: "${{ github.event.workflow_run.head_repository.owner.login }}:${{ github.event.workflow_run.head_branch }}",
+ head: `${context.payload.workflow_run.head_repository.owner.login}:${context.payload.workflow_run.head_branch}`,
37
});
38
39
return response.data[0]?.number ?? "";
0 commit comments