mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Use fields on context.payload
This commit is contained in:
parent
5bc9a17b5e
commit
966982d0f8
1 changed files with 3 additions and 3 deletions
|
|
@ -38,9 +38,9 @@ jobs:
|
|||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
github.issues.createComment({
|
||||
issue_number: context.issue,
|
||||
owner: context.owner,
|
||||
repo: context.repo,
|
||||
issue_number: context.payload.issue.number,
|
||||
owner: context.payload.repository.owner.login,
|
||||
repo: context.payload.repository.name,
|
||||
body: '👋 Thanks for reporting!'
|
||||
})
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue