Skip to content

Commit 5b51e25

Browse files
committed
Fix help command
1 parent b731dde commit 5b51e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/help-command.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ jobs:
8484
'For more information, see the [React on Rails Tutorial documentation](https://github.com/shakacode/react-on-rails/tree/master/react-webpack-rails-tutorial)'
8585
].join('\n');
8686
87-
console.log('Issue number:', github.context.payload.issue.number);
87+
console.log('Issue number:', context.issue.number);
8888
console.log('Owner:', context.repo.owner);
8989
console.log('Repo:', context.repo.repo);
9090
9191
await github.rest.issues.createComment({
9292
owner: context.repo.owner,
9393
repo: context.repo.repo,
94-
issue_number: github.context.payload.issue.number,
94+
issue_number: context.issue.number,
9595
body: helpMessage
9696
});
9797

0 commit comments

Comments
 (0)