From f82f7d4bfe0f3e630bfaf7002f5baa92579172c7 Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Fri, 22 Dec 2023 15:00:43 +0200 Subject: [PATCH] pr-auditor: report failures (#375) part of sourcegraph/sourcegraph#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