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.
pkg.pr.new
1 parent 0ce4b55 commit 207edcbCopy full SHA for 207edcb
.github/workflows/pkg.pr.new-comment.yml
@@ -15,7 +15,6 @@ jobs:
15
uses: actions/download-artifact@v4
16
with:
17
name: output.json
18
- path: output.json
19
github-token: ${{ secrets.GITHUB_TOKEN }}
20
run-id: ${{ github.event.workflow_run.id }}
21
- name: 'Post or update comment'
@@ -85,8 +84,8 @@ jobs:
85
84
}
86
87
if (output.event_name === 'pull_request') {
88
- if (context.issue.number) {
89
- await create_or_update_comment(context.issue.number);
+ if (output.number) {
+ await create_or_update_comment(output.number);
90
91
} else if (output.event_name === 'push') {
92
const pull_requests = await github.rest.pulls.list({
0 commit comments