We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8b02bd commit 53a3667Copy full SHA for 53a3667
.github/workflows/slash_commands.yml
@@ -56,6 +56,12 @@ jobs:
56
-H "Authorization: Bearer ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}" \
57
"https://api.github.com/repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions" \
58
-d '{"content":"eyes"}'
59
+ else
60
+ curl -X POST \
61
+ -H "Accept: application/vnd.github.v3+json" \
62
+ -H "Authorization: Bearer ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}" \
63
+ "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments" \
64
+ -d '{"body":"@${{ github.event.comment.user.login }}, slash command not recognized. Please use `/stdlib help` to view available commands."}'
65
fi
66
67
# Define a job for checking for required files:
0 commit comments