From 001fef7f26886bbbfe48f56581409333d4df801e Mon Sep 17 00:00:00 2001 From: Mario Apra Date: Wed, 25 Sep 2024 15:44:01 +0100 Subject: [PATCH] feat: Add pull request trigger to CI/CD pipeline Include pull request events to trigger the CI/CD pipeline when modifications are made to the pipeline configuration file. This ensures changes are validated before merging into the main branch. --- .github/workflows/ci-cd-pipeline.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-cd-pipeline.yml b/.github/workflows/ci-cd-pipeline.yml index b0ca83f07c..6ef77b4d2a 100644 --- a/.github/workflows/ci-cd-pipeline.yml +++ b/.github/workflows/ci-cd-pipeline.yml @@ -13,6 +13,10 @@ on: branches: [main] tags: ["v*"] workflow_dispatch: + pull_request: + branches: [main] + paths: + - .github/workflows/ci-cd-pipeline.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }}