From c163ebcef2cae13d73b0ff780a4da4e99d358aa5 Mon Sep 17 00:00:00 2001 From: Mark Keller <8452750+keller00@users.noreply.github.com> Date: Sun, 25 Jan 2026 23:03:27 -0800 Subject: [PATCH] ci: fix hooky runs --- .github/workflows/hooky.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/hooky.yml b/.github/workflows/hooky.yml index cff246b..4f95a96 100644 --- a/.github/workflows/hooky.yml +++ b/.github/workflows/hooky.yml @@ -14,17 +14,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - uses: moonrepo/setup-rust@v1 - - name: Get latest Hooky release tag - id: get_tag - run: | - TAG=$(curl -sSf https://api.github.com/repos/brandonchinn178/hooky/releases/latest \ - | jq -r .tag_name) - echo "Latest Hooky tag is $TAG" - echo "tag=$TAG" >> "$GITHUB_OUTPUT" - name: Download Hooky binary id: download run: | - TAG="${{ steps.get_tag.outputs.tag }}" + TAG="v1.0.0" ASSET="hooky-${TAG#v}-linux-x86_64" URL="https://github.com/brandonchinn178/hooky/releases/download/${TAG}/${ASSET}" echo "Downloading $URL" @@ -36,3 +29,5 @@ jobs: rustfmt --version - name: Execute hooks run: hooky run --all --format=verbose + env: + SKIP: no_commit_to_branch