From 9558e2c810ed8aede9ad1ec6b79704b044180254 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 12 Sep 2022 14:34:50 -0700 Subject: [PATCH] Update snapshot-release.yml --- .github/workflows/snapshot-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index eaf20ff59..02ac27af1 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -31,7 +31,7 @@ jobs: uses: actions/github-script@v6 with: script: | - const splitComment = github.event.comment.body.split(' '); + const splitComment = context.payload.comment.body.split(' '); splitComment.length !== 2 && (github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner,