Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ai-assistance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: AI-assisted
on:
pull_request:
types: [ready_for_review]

jobs:
summary:
name: PR Summary
if: github.actor != 'ospo-renovate[bot]'
runs-on: [ubuntu-latest]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The runs-on key is typically used with a string value rather than an array. It's cleaner to use runs-on: ubuntu-latest instead of [ubuntu-latest]. You can update it like below:

runs-on: ubuntu-latest

steps:
- uses: SAP/ai-assisted-github-actions/pr-summary@v3
with:
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
model: gpt-4o
exclude-files: package-lock.json
display-mode: append
header-text: "---"

review:
name: PR Review
if: github.actor != 'ospo-renovate[bot]'
runs-on: [ubuntu-latest]
steps:
- uses: SAP/ai-assisted-github-actions/pr-review@v3
with:
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
model: gpt-4o
exclude-files: package-lock.json