Skip to content

Commit ea82c8c

Browse files
ci: fix missing PR number in canary release workflow (#3481)
1 parent 21abb2a commit ea82c8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/canary.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
);
7171
7272
core.exportVariable('PR_URL', pull_request.url);
73+
core.exportVariable('PR_NUMBER', pull_request.number);
7374
core.exportVariable('NPM_TAG', packageJSON.publishConfig.tag);
7475
core.exportVariable('NPM_VERSION', packageJSON.version);
7576
@@ -94,7 +95,7 @@ jobs:
9495
const npmVersion = process.env.NPM_VERSION;
9596
const npmURL = 'https://www.npmjs.com/package/graphql/v/' + npmVersion;
9697
github.rest.issues.createComment({
97-
issue_number: context.issue.number,
98+
issue_number: process.env.PR_NUMBER,
9899
owner: context.repo.owner,
99100
repo: context.repo.repo,
100101
body:

0 commit comments

Comments
 (0)