From 17b8575ef8c32ef1126349d3f3500188b7818d46 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Tue, 22 Apr 2025 21:41:43 +0000 Subject: [PATCH] Use latest version of checkout, add permission for checkout, and use RESPONSE variable --- automation/summary.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/automation/summary.yml b/automation/summary.yml index 321dcb5..4a8e31f 100644 --- a/automation/summary.yml +++ b/automation/summary.yml @@ -10,10 +10,11 @@ jobs: permissions: issues: write models: read + contents: read steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run AI inference id: inference @@ -29,4 +30,5 @@ jobs: gh issue comment $ISSUE_NUMBER --body '${{ steps.inference.outputs.response }}' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ISSUE_NUMBER: ${{ github.event.issue.number }} \ No newline at end of file + ISSUE_NUMBER: ${{ github.event.issue.number }} + RESPONSE: ${{ steps.inference.outputs.response }} \ No newline at end of file