-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: add code-review workflow task #21103
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 1 commit
4001fe5
c6b85ec
2fea873
84ccad8
d94e9df
724e8b1
96e6afd
647b610
c7c96e9
c5fe6c5
96c66d6
62bf201
ca4dd32
dcaedbd
ff8d037
a26b00f
595278f
50dc5c0
8ab152f
3d1dd32
5d9492b
32e54e8
7ba4bdf
f0eaa46
d6cdd8f
50281ce
fb144d5
9a5f70f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -109,9 +109,12 @@ jobs: | |||||||||
|
|
||||||||||
| - name: Extract repository info | ||||||||||
| id: repo-info | ||||||||||
| env: | ||||||||||
| REPO_OWNER: ${{ github.repository_owner }} | ||||||||||
| REPO_NAME: ${{ github.event.repository.name }} | ||||||||||
| run: | | ||||||||||
|
Contributor
Author
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. Important: Missing
Suggested change
|
||||||||||
| echo "owner=${{ github.repository_owner }}" >> "${GITHUB_OUTPUT}" | ||||||||||
| echo "repo=${{ github.event.repository.name }}" >> "${GITHUB_OUTPUT}" | ||||||||||
| echo "owner=${REPO_OWNER}" >> "${GITHUB_OUTPUT}" | ||||||||||
|
Contributor
Author
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. Issue: Missing Impact: Without these flags, undefined variables or command failures won't cause the step to fail. This could lead to silent failures where empty values are written to GITHUB_OUTPUT.
Suggested change
|
||||||||||
| echo "repo=${REPO_NAME}" >> "${GITHUB_OUTPUT}" | ||||||||||
|
|
||||||||||
| - name: Build code review prompt | ||||||||||
| id: build-prompt | ||||||||||
|
|
||||||||||
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.
Issue: Missing error handling directives for this shell script block.