Skip to content

Commit 5c6a34d

Browse files
authored
ci: fix regenerate-mlir-bindings (#1709)
1 parent 2d0e0e3 commit 5c6a34d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/regenerate-mlir-bindings.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66
workflow_dispatch:
7+
pull_request:
8+
paths:
9+
- ".github/workflows/regenerate-mlir-bindings.yml"
710

811
jobs:
912
mlir-bindings:
@@ -22,7 +25,7 @@ jobs:
2225
# Avoid downloading Bazel every time.
2326
bazelisk-cache: true
2427
# Store build cache per workflow.
25-
disk-cache: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.version }}
28+
disk-cache: ${{ github.workflow }}
2629
# Share repository cache between workflows.
2730
repository-cache: true
2831
bazelisk-version: 1.x
@@ -72,7 +75,13 @@ jobs:
7275
branch: regenerate-mlir-bindings
7376
delete-branch: true
7477
author: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com>
78+
base: main
7579
- name: Check outputs
7680
run: |
7781
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
7882
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
83+
- name: Notify failed build
84+
uses: jayqi/failed-build-issue-action@v1
85+
if: failure() && github.event.pull_request == null
86+
with:
87+
github-token: ${{ secrets.GITHUB_TOKEN }}

deps/ReactantExtra/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,6 @@ gentbl_cc_library(
14271427
deps = [
14281428
"@enzyme//:EnzymeDialectTdFiles",
14291429
"@enzyme_ad//src/enzyme_ad/jax:EnzymeXLADialectTdFiles",
1430-
"@llvm-project//mlir:CopyOpInterfaceTdFiles",
14311430
"@llvm-project//mlir:GPUOpsTdFiles",
14321431
"@stablehlo//:stablehlo_ops_td_files",
14331432
],

0 commit comments

Comments
 (0)