summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-09-12 14:34:50 -0700
committerGravatar GitHub <noreply@github.com> 2022-09-12 14:34:50 -0700
commit9558e2c810ed8aede9ad1ec6b79704b044180254 (patch)
tree48d563324a6e78067ebe57471320ffb82680e373
parent05778251dbdf13ca44d86a1fb5d2a6e3897a4186 (diff)
downloadastro-9558e2c810ed8aede9ad1ec6b79704b044180254.tar.gz
astro-9558e2c810ed8aede9ad1ec6b79704b044180254.tar.zst
astro-9558e2c810ed8aede9ad1ec6b79704b044180254.zip
Update snapshot-release.yml
-rw-r--r--.github/workflows/snapshot-release.yml2
1 files changed, 1 insertions, 1 deletions
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,