You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/issue-bot.yml
+91-1Lines changed: 91 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -192,16 +192,25 @@ jobs:
192
192
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
193
193
run: |
194
194
set +e
195
-
./console.php evaluate >> $GITHUB_STEP_SUMMARY
195
+
./console.php evaluate > tmp/step-summary.md
196
196
exit_code="$?"
197
197
198
+
cat tmp/step-summary.md >> $GITHUB_STEP_SUMMARY
199
+
198
200
if [[ "$exit_code" == "2" ]]; then
199
201
echo "::notice file=.github/workflows/issue-bot.yml,line=3 ::Issue bot detected open issues which are affected by this pull request - see https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
"Read the file ./tmp/step-summary.md which contains the Issue Bot step summary from CI in Markdown format. Interpret this Markdown to figure out which GitHub issues need regression tests added. For each affected issue (where behavior changed), run /regression-test with the issue number.
301
+
302
+
Do not create a branch or push - this will be handled automatically."
303
+
304
+
- name: "Push"
305
+
if: steps.check.outputs.skip != 'true'
306
+
run: |
307
+
if [ "$(git rev-parse HEAD)" = "$(git rev-parse @{u})" ]; then
0 commit comments