From 6c16e0f8522d3a929106643b1dabab8c4ad8ceae Mon Sep 17 00:00:00 2001 From: huchenlei Date: Wed, 8 Jan 2025 18:01:34 -0500 Subject: [PATCH] Don't run on fork PRs --- .github/workflows/update-version.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 33880f9d..dd807a71 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -10,6 +10,8 @@ on: jobs: update-version: runs-on: ubuntu-latest + # Don't run on fork PRs + if: github.event.pull_request.head.repo.full_name == github.repository permissions: pull-requests: write contents: write