From 3df95c8d59c9cbb8d23a6383f80b08fcd886da8e Mon Sep 17 00:00:00 2001 From: Slim Amamou Date: Wed, 27 Aug 2025 16:29:21 +0100 Subject: [PATCH] Disabled CI and CD for pull request between repos --- .github/workflows/cd.yml | 2 ++ .github/workflows/ci.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 44a516e..8cdda24 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -30,10 +30,12 @@ jobs: # deploy build: + if: github.event.pull_request.head.repo.full_name == github.repository name: Build uses: ./.github/workflows/build.yml deploy: + if: github.event.pull_request.head.repo.full_name == github.repository name: Deploy needs: [ build ] uses: ./.github/workflows/deploy.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8efda09..afe4abe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: jobs: build: + if: github.event.pull_request.head.repo.full_name == github.repository name: Docker build runs-on: ubuntu-latest steps: