From 908785f19a297413ab629a79b76b575fb6a10033 Mon Sep 17 00:00:00 2001 From: zejzejzej3 Date: Sun, 13 Jul 2025 18:41:36 -0400 Subject: [PATCH] I thought i already did this but apparently it didn't stick? - deleted summary.yml --- .github/workflows/summary.yml | 45 ----------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/summary.yml diff --git a/.github/workflows/summary.yml b/.github/workflows/summary.yml deleted file mode 100644 index 8c99ad4..0000000 --- a/.github/workflows/summary.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Summarize new issues - -on: - issues: - types: [opened, edited] - -jobs: - summary: - runs-on: ubuntu-latest - permissions: - issues: write - contents: read - models: read - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Run AI inference - id: inference - uses: actions/ai-inference@v1 - with: - model: "gpt-4o" # Remove the "openai/" prefix - max-tokens: 300 # Increase token limit - prompt: | - Please provide a concise summary of this GitHub issue in one paragraph: - - Title: "${{ github.event.issue.title }}" - - Body: "${{ github.event.issue.body || 'No description provided.' }}" - - Focus on the main problem, requested feature, or question being raised. - - - name: Comment with AI summary - uses: actions/github-script@v7 - with: - script: | - await github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: `## 🤖 AI Summary\n\n${{ steps.inference.outputs.response }}` - }); - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file