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/**'
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user