Update build.yml

This commit is contained in:
辉鸭蛋
2025-04-09 10:32:11 +08:00
committed by GitHub
parent d06703278f
commit e218ccc0aa

View File

@@ -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: