From e3ca0a9d6513357492008c2b9520c8bb8ddb8253 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Fri, 13 Dec 2024 23:00:51 +0000 Subject: [PATCH] Check if latest nightly succeeded. --- .github/workflows/pr.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 49ca5ca0fb9..7c45477fb2b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,6 +13,7 @@ jobs: # Please keep pr-builder as the top job here pr-builder: needs: + - check-nightly-ci - changed-files - checks - conda-cpp-build @@ -54,6 +55,24 @@ jobs: - name: Telemetry setup if: ${{ vars.TELEMETRY_ENABLED == 'true' }} uses: rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@main + check-nightly-ci: + runs-on: ubuntu-latest + container: + # Just need an image where Python is available + image: rapidsai/ci-wheel:latest + env: + RAPIDS_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - name: Check if nightly CI is passing + uses: rapidsai/shared-actions/check_nightly_success/dispatch@feat/check_nightly_ci + with: + # TODO: Change back before merging, just using cugraph to demonstrate a failure + repo: cugraph + #repo: cudf + # TODO: Remove envs once the shared-actions PR is merged. + env: + SHARED_ACTIONS_REPO: rapidsai/shared-actions + SHARED_ACTIONS_REF: feat/check_nightly_ci changed-files: secrets: inherit needs: telemetry-setup