From e218ccc0aa4a51eee3781dcd89463da2a9f6e781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89=E9=B8=AD=E8=9B=8B?= Date: Wed, 9 Apr 2025 10:32:11 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be01b24f..b4fe540b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,8 @@ on: - '.github/workflows/**' jobs: build: + # Skip this job if the repository is a fork + if: github.repository_owner == 'babalae' runs-on: ubuntu-latest permissions: # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. @@ -36,6 +38,8 @@ jobs: commit_message: update repo.json upload: + # Skip this job if the repository is a fork + if: github.repository_owner == 'babalae' needs: build runs-on: ubuntu-latest environment: