From 128f9f338eefdf00c222a4fe6f68ed41c35c1edd Mon Sep 17 00:00:00 2001 From: KTrain5369 <69028025+KTrain5169@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:58:58 +1000 Subject: [PATCH] chore: ID'ed debug log workflows --- .github/workflows/pr_management.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_management.yml b/.github/workflows/pr_management.yml index 2a05f45..51bc684 100644 --- a/.github/workflows/pr_management.yml +++ b/.github/workflows/pr_management.yml @@ -41,6 +41,7 @@ jobs: - name: Assigned/unassigned reviewers success debug log if: steps.assign-reviewers.outputs.assigned_status == 'success' && steps.assign-reviewers.outputs.unassigned_status == 'success' + id: success-debug run: | echo "Successfully assigned/unassigned reviewers! Printing more info below..." echo "If values return null, that means I didn't do anything.\n" @@ -57,6 +58,7 @@ jobs: - name: Assigned/unassigned reviewers failure(?) debug log if: steps.assign-reviewers.outputs.assigned_status == 'info' && steps.assign-reviewers.outputs.unassigned_status == 'info' + id: info-debug run: | echo "Uh-oh! I (probably) ran into an issue when assigning/unassigning reviewers! Here's some info: \n" @@ -79,7 +81,7 @@ jobs: echo "Merging ${{ github.base_ref }} <- ${{ github.head_ref }}" echo "Triggering event: ${{ github.event }}\n" - echo "Check previous step logs for more info." + echo "Check previous step logs, as well as the debug logs if necessary, for more info." - name: Warn if this workflow fails if: steps.author-assignee.outcome == 'failure' || steps.label-pr.outcome == 'failure' || steps.assign-reviewers.outcome == 'failure'