Merge pull request #7554 from continuedev/nate/workflow-updates

feat: add eyes reaction to comments mentioning continuedev
This commit is contained in:
Nate Sesti 2025-09-03 10:24:42 -07:00 • committed by GitHub
commit f3e5c068ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,18 @@ jobs:
echo "contains_mention=false" >> $GITHUB_OUTPUT
fi
- name: Add eyes reaction to comment
if: steps.check-mention.outputs.contains_mention == 'true'
uses: actions/github-script@v7
with:
script: |
await github.rest.reactions.createForIssueComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: ${{ github.event.comment.id }},
content: 'eyes'
});
- name: Checkout PR branch
if: steps.check-mention.outputs.contains_mention == 'true'
uses: actions/checkout@v5
@ -130,6 +142,18 @@ jobs:
echo "contains_mention=false" >> $GITHUB_OUTPUT
fi
- name: Add eyes reaction to comment
if: steps.check-mention.outputs.contains_mention == 'true'
uses: actions/github-script@v7
with:
script: |
await github.rest.reactions.createForPullRequestReviewComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: ${{ github.event.comment.id }},
content: 'eyes'
});
- name: Checkout PR branch
if: steps.check-mention.outputs.contains_mention == 'true'
uses: actions/checkout@v5