Skip to content

Commit c56a130

Browse files
Add AI-assisted GitHub Actions workflow for PR summary and review (#3)
1 parent dfa094c commit c56a130

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: AI-assisted
2+
on:
3+
pull_request:
4+
types: [ready_for_review]
5+
6+
jobs:
7+
summary:
8+
name: PR Summary
9+
if: github.actor != 'ospo-renovate[bot]'
10+
runs-on: [ubuntu-latest]
11+
steps:
12+
- uses: SAP/ai-assisted-github-actions/pr-summary@v3
13+
with:
14+
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
15+
model: gpt-4o
16+
exclude-files: package-lock.json
17+
display-mode: append
18+
header-text: "---"
19+
20+
review:
21+
name: PR Review
22+
if: github.actor != 'ospo-renovate[bot]'
23+
runs-on: [ubuntu-latest]
24+
steps:
25+
- uses: SAP/ai-assisted-github-actions/pr-review@v3
26+
with:
27+
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
28+
model: gpt-4o
29+
exclude-files: package-lock.json

0 commit comments

Comments
 (0)