This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch HIVE-29591-precommit-image in repository https://gitbox.apache.org/repos/asf/hive.git
commit 22e9acc2285aaaaade2a1b845e31b01f9d14469b Author: Laszlo Bodor <[email protected]> AuthorDate: Thu Nov 12 15:02:22 2026 +0100 Precommit image workflow: do not run on pushes to a fork A push to a fork's master only syncs apache/hive, and the tag check fails there once apache/hive has published the version. Forks still build the image on their PRs and manual runs. Co-Authored-By: Claude Code <[email protected]> --- .github/workflows/precommit-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/precommit-image.yml b/.github/workflows/precommit-image.yml index b7a37d9d825..e32e12b0b5e 100644 --- a/.github/workflows/precommit-image.yml +++ b/.github/workflows/precommit-image.yml @@ -41,6 +41,8 @@ permissions: jobs: build: + # On a fork, a push to master only syncs apache/hive: there is nothing to publish. + if: github.event_name != 'push' || github.repository == 'apache/hive' runs-on: ubuntu-latest steps: - name: Checkout
