-
Notifications
You must be signed in to change notification settings - Fork 3
Update SAP/ai-assisted-github-actions digest to e30d0a9 #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ jobs: | |
| if: github.actor != 'ospo-renovate[bot]' | ||
| 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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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\n |
||
|
|
@@ -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 | ||
|
|
||
There was a problem hiding this comment.
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\n
yaml\nif: github.actor != 'ospo-renovate[bot]' \nsteps: \n - uses: ...\n