From 5ac051aa2c9a9ffd331fa2b2569112905202b718 Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Thu, 21 Dec 2023 16:56:43 +0200 Subject: [PATCH] pr-auditor: report failures (#962) --- .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 e7ec2d483..cdd92bfc5 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