Skip to content

Commit d82f0a9

Browse files
staabmondrejmirtes
authored andcommitted
issue-bot: subshell is eating the exit code
1 parent c1fc053 commit d82f0a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/issue-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
if: github.event_name == 'pull_request'
164164
env:
165165
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
166-
run: echo "$(./console.php evaluate)" >> $GITHUB_STEP_SUMMARY
166+
run: ./console.php evaluate >> $GITHUB_STEP_SUMMARY
167167

168168
- name: "Evaluate results - push"
169169
working-directory: "issue-bot"
@@ -172,4 +172,4 @@ jobs:
172172
GITHUB_PAT: ${{ secrets.PHPSTAN_BOT_TOKEN }}
173173
PHPSTAN_SRC_COMMIT_BEFORE: ${{ github.event.before }}
174174
PHPSTAN_SRC_COMMIT_AFTER: ${{ github.event.after }}
175-
run: echo "$(./console.php evaluate --post-comments)" >> $GITHUB_STEP_SUMMARY
175+
run: ./console.php evaluate --post-comments >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)