Skip to content

Commit b087e5c

Browse files
committed
fix(workflows): ensure post-comment step runs after Claude Code Action
- Add condition to ensure step runs when issue_number is set - Keep if: always() to run even if Claude Code Action fails - Ensure step executes for all successful workflow runs
1 parent 6574aa7 commit b087e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/agentready-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
echo "GitHub context issue (alt): ${{ github.event.issue.number || 'not set' }}"
211211
212212
- name: Post @agentready-dev response
213-
if: always()
213+
if: always() && steps.event-context.outputs.issue_number != ''
214214
uses: actions/github-script@v8
215215
env:
216216
ISSUE_NUMBER: ${{ steps.event-context.outputs.issue_number }}

0 commit comments

Comments
 (0)