Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

bye entelligence-ai-pr-reviews (#752)

teocns71c43fdcd2da
diff --git a/.github/workflows/delete-bot-comments.yaml b/.github/workflows/delete-bot-comments.yaml
new file mode 100644
index 00000000..0ce6aa5d
--- /dev/null
+++ b/.github/workflows/delete-bot-comments.yaml
@@ -0,0 +1,28 @@
+name: Delete Bot Comments
+
+on:
+ issue_comment:
+ types: [created]
+
+jobs:
+ delete-bot-comment:
+ runs-on: ubuntu-latest
+ if: ${{ github.event.comment.user.login == 'entelligence-ai-pr-reviews' }}
+
+ steps:
+ - name: Delete bot comment
+ uses: actions/github-script@v6
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ script: |
+ const commentId = context.payload.comment.id;
+
+ console.log(`Deleting comment ID: ${commentId} from bot: entelligence-ai-pr-reviews`);
+
+ await github.rest.issues.deleteComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ comment_id: commentId
+ });
+
+ console.log('Comment deleted successfully');
\ No newline at end of file