From bd493f718623f510034f1d59bfdc43e5e7309850 Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Fri, 22 Dec 2023 14:48:52 +0200 Subject: [PATCH] pr-auditor: report failures (#673) part of https://github.com/sourcegraph/sourcegraph/issues/59055 --- .github/workflows/pr-auditor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr-auditor.yml b/.github/workflows/pr-auditor.yml index e7ec2d48..cdd92bfc 100644 --- a/.github/workflows/pr-auditor.yml +++ b/.github/workflows/pr-auditor.yml @@ -20,3 +20,8 @@ jobs: GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }} GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }} GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} + report_failure: + needs: check-pr + if: ${{ failure() }} + uses: sourcegraph/sourcegraph/.github/workflows/report-job-failure.yml@main + secrets: inherit