Skip to content

Commit 17b8575

Browse files
committed
Use latest version of checkout, add permission for checkout, and use RESPONSE variable
1 parent f1f24bd commit 17b8575

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

automation/summary.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ jobs:
1010
permissions:
1111
issues: write
1212
models: read
13+
contents: read
1314

1415
steps:
1516
- name: Checkout repository
16-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1718

1819
- name: Run AI inference
1920
id: inference
@@ -29,4 +30,5 @@ jobs:
2930
gh issue comment $ISSUE_NUMBER --body '${{ steps.inference.outputs.response }}'
3031
env:
3132
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
ISSUE_NUMBER: ${{ github.event.issue.number }}
33+
ISSUE_NUMBER: ${{ github.event.issue.number }}
34+
RESPONSE: ${{ steps.inference.outputs.response }}

0 commit comments

Comments
 (0)