Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -12,6 +12,8 @@ on:
|
|||||||
- '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
# Skip this job if the repository is a fork
|
||||||
|
if: github.repository_owner == 'babalae'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
|
# 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
|
commit_message: update repo.json
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
# Skip this job if the repository is a fork
|
||||||
|
if: github.repository_owner == 'babalae'
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user