Update snapshot-release.yml
This commit is contained in:
parent
05778251db
commit
9558e2c810
1 changed files with 1 additions and 1 deletions
2
.github/workflows/snapshot-release.yml
vendored
2
.github/workflows/snapshot-release.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const splitComment = github.event.comment.body.split(' ');
|
const splitComment = context.payload.comment.body.split(' ');
|
||||||
splitComment.length !== 2 && (github.rest.issues.createComment({
|
splitComment.length !== 2 && (github.rest.issues.createComment({
|
||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|
Loading…
Add table
Reference in a new issue