Disabled CI and CD for pull request between repos

This commit is contained in:
Slim Amamou 2025-08-27 16:29:21 +01:00
parent 689b7b3946
commit 3df95c8d59
2 changed files with 3 additions and 0 deletions

View file

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

View file

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