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
4 changes: 2 additions & 2 deletions .github/workflows/ai-assistance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.actor != 'ospo-renovate[bot]'
Copy link

Choose a reason for hiding this comment

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

The conditional 'if: github.actor != 'ospo-renovate[bot]'' is repeated in two separate steps. Consider defining this conditional at a job level if these steps are part of the same job. It would reduce repetition and improve maintainability. You can use: \n\nyaml\nif: github.actor != 'ospo-renovate[bot]' \nsteps: \n - uses: ...\n

runs-on: [ubuntu-latest]
steps:
- uses: SAP/ai-assisted-github-actions/pr-summary@8b4e4ef555450551045d43896ef25396ed387c4a # v3
- uses: SAP/ai-assisted-github-actions/pr-summary@e30d0a9b55431531b1c92a58dc96b6ab21791fed # v3
Copy link

Choose a reason for hiding this comment

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

It's a good practice to lock versions of third-party dependencies by using a specific version tag or hash. While the change here updates to a specific hash, you might want to check the reasons behind changing this hash and review the differences in the action's implementation to ensure there are no breaking changes for your workflow.

with:
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
model: gpt-4o
Copy link

Choose a reason for hiding this comment

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

Consider using a descriptive placeholder instead of 'gpt-4o' for the model value. It can improve readability and maintainability, especially if this model identifier changes or needs clarification. For example, \n\nyaml\nmodel: {{ secrets.AICORE_MODEL }}\n

Expand All @@ -22,7 +22,7 @@ jobs:
if: github.actor != 'ospo-renovate[bot]'
runs-on: [ubuntu-latest]
steps:
- uses: SAP/ai-assisted-github-actions/pr-review@8b4e4ef555450551045d43896ef25396ed387c4a # v3
- uses: SAP/ai-assisted-github-actions/pr-review@e30d0a9b55431531b1c92a58dc96b6ab21791fed # v3
with:
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
model: gpt-4o
Expand Down