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: