Disabled CI and CD for pull request between repos
This commit is contained in:
parent
689b7b3946
commit
3df95c8d59
2 changed files with 3 additions and 0 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
|
@ -30,10 +30,12 @@ jobs:
|
||||||
# deploy
|
# deploy
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||||
name: Build
|
name: Build
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||||
name: Deploy
|
name: Deploy
|
||||||
needs: [ build ]
|
needs: [ build ]
|
||||||
uses: ./.github/workflows/deploy.yml
|
uses: ./.github/workflows/deploy.yml
|
||||||
|
|
|
||||||
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||||
name: Docker build
|
name: Docker build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue