From 60b2525808deddb85f1e297acfae287c214d33de Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sat, 27 Sep 2025 00:10:47 -0400 Subject: [PATCH] ci: fix regenerate-mlir-bindings --- .github/workflows/regenerate-mlir-bindings.yml | 11 ++++++++++- deps/ReactantExtra/BUILD | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regenerate-mlir-bindings.yml b/.github/workflows/regenerate-mlir-bindings.yml index 5f4825642e..be965af7ae 100644 --- a/.github/workflows/regenerate-mlir-bindings.yml +++ b/.github/workflows/regenerate-mlir-bindings.yml @@ -4,6 +4,9 @@ on: schedule: - cron: '0 0 * * *' workflow_dispatch: + pull_request: + paths: + - ".github/workflows/regenerate-mlir-bindings.yml" jobs: mlir-bindings: @@ -22,7 +25,7 @@ jobs: # Avoid downloading Bazel every time. bazelisk-cache: true # Store build cache per workflow. - disk-cache: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.version }} + disk-cache: ${{ github.workflow }} # Share repository cache between workflows. repository-cache: true bazelisk-version: 1.x @@ -72,7 +75,13 @@ jobs: branch: regenerate-mlir-bindings delete-branch: true author: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com> + base: main - name: Check outputs run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" + - name: Notify failed build + uses: jayqi/failed-build-issue-action@v1 + if: failure() && github.event.pull_request == null + with: + github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/deps/ReactantExtra/BUILD b/deps/ReactantExtra/BUILD index cd29cdb699..9602a587b8 100644 --- a/deps/ReactantExtra/BUILD +++ b/deps/ReactantExtra/BUILD @@ -1427,7 +1427,6 @@ gentbl_cc_library( deps = [ "@enzyme//:EnzymeDialectTdFiles", "@enzyme_ad//src/enzyme_ad/jax:EnzymeXLADialectTdFiles", - "@llvm-project//mlir:CopyOpInterfaceTdFiles", "@llvm-project//mlir:GPUOpsTdFiles", "@stablehlo//:stablehlo_ops_td_files", ],