From 320c8bbd3b0ca0214f2c59e1b329c8918b3c4447 Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Thu, 20 Aug 2026 10:22:44 -0400 Subject: [PATCH] Trigger halide/Halide's upgrade-llvm workflow after publishing Reuses the LLVM_UPDATER GitHub App so a new halide-llvm release notifies Halide immediately instead of waiting for its daily poll. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/build-llvm.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build-llvm.yml b/.github/workflows/build-llvm.yml index c64789d..6c60526 100644 --- a/.github/workflows/build-llvm.yml +++ b/.github/workflows/build-llvm.yml @@ -172,3 +172,25 @@ jobs: contents: read pages: write id-token: write + + trigger-halide-upgrade: + name: Trigger halide-llvm upgrade in Halide + needs: publish + if: needs.publish.result == 'success' + runs-on: ubuntu-latest + permissions: {} + steps: + # Reuses the App that halide/Halide's own upgrade-llvm.yml runs as, so + # that repo doesn't have to wait for its daily poll to notice a new + # halide-llvm release. + - uses: actions/create-github-app-token@v3 + id: app-token + with: + app-id: ${{ secrets.LLVM_UPDATER_ID }} + private-key: ${{ secrets.LLVM_UPDATER_PRIVATE_KEY }} + repositories: Halide + + - name: Trigger halide/Halide's upgrade-llvm workflow + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + run: gh workflow run upgrade-llvm.yml --repo halide/Halide