chore: fix typo in workflow

This commit is contained in:
Satyajit Sahoo
2020-11-28 19:02:51 +01:00
parent ca50b172f9
commit 33b474ef64
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const user = context.sender.login;
const user = context.payload.sender.login;
const body = context.payload.comment
? context.payload.comment.body
: context.payload.issue.body;

View File

@@ -11,7 +11,7 @@ jobs:
script: |
// Get a list of all issues created by the PR opener
// See: https://octokit.github.io/rest.js/#pagination
const creator = context.payload.sender.login
const creator = context.payload.sender.login;
const opts = github.issues.listForRepo.endpoint.merge({
...context.issue,
creator,