Skip to content

Commit

Permalink
ci: fix missing PR number in canary release workflow (#3481)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 5, 2022
1 parent 21abb2a commit ea82c8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/canary.yaml
Expand Up @@ -70,6 +70,7 @@ jobs:
);
core.exportVariable('PR_URL', pull_request.url);
core.exportVariable('PR_NUMBER', pull_request.number);
core.exportVariable('NPM_TAG', packageJSON.publishConfig.tag);
core.exportVariable('NPM_VERSION', packageJSON.version);
Expand All @@ -94,7 +95,7 @@ jobs:
const npmVersion = process.env.NPM_VERSION;
const npmURL = 'https://www.npmjs.com/package/graphql/v/' + npmVersion;
github.rest.issues.createComment({
issue_number: context.issue.number,
issue_number: process.env.PR_NUMBER,
owner: context.repo.owner,
repo: context.repo.repo,
body:
Expand Down

0 comments on commit ea82c8c

Please sign in to comment.