Repository navigation
refactor(dispatch): require PR context for review triggers #2473
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 2 commits
672eea5
1e58e31
ac81512
e5e64cc
4b55b3d
92833c5
7906163
1e684be
161198d
c3fc48d
bd850dc
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 |
|---|---|---|
|
|
@@ -139,7 +139,9 @@ jobs: | |
| fi | ||
| ;; | ||
| /fs-review) | ||
|
ifireball marked this conversation as resolved.
Resolved
ifireball marked this conversation as resolved.
Resolved
ifireball marked this conversation as resolved.
Resolved
ifireball marked this conversation as resolved.
Resolved
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. [low] silent-skip When /fs-review is issued on an issue without a linked PR, STAGE remains empty and the workflow silently skips dispatch. The user receives no feedback. This is consistent with existing patterns (/fs-code silently skips when ISSUE_IS_PR is true), so this is not a regression.
ifireball marked this conversation as resolved.
Resolved
|
||
| STAGE="review" | ||
| if [[ "${ISSUE_HAS_PR}" == "true" ]]; then | ||
| STAGE="review" | ||
| fi | ||
| ;; | ||
| /fs-fix) | ||
| if [[ "${ISSUE_HAS_PR}" == "true" ]]; then | ||
|
|
@@ -185,7 +187,9 @@ jobs: | |
| if [[ "${TRIGGERING_LABEL}" == "ready-to-code" ]]; then | ||
| STAGE="code" | ||
| elif [[ "${TRIGGERING_LABEL}" == "ready-for-review" ]]; then | ||
| STAGE="review" | ||
| if [[ "${ISSUE_HAS_PR}" == "true" ]]; then | ||
| STAGE="review" | ||
| fi | ||
| fi | ||
| fi | ||
| ;; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.