Skip to content

Commit

Permalink
chore: ID'ed debug log workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
KTrain5169 committed Jul 15, 2024
1 parent 669b2c5 commit 128f9f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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'
Expand Down

0 comments on commit 128f9f3

Please sign in to comment.