From b45155a216baa86cb38f5bc1dcc620e946d9c043 Mon Sep 17 00:00:00 2001 From: ctmbl Date: Fri, 17 May 2024 18:55:00 +0200 Subject: [PATCH] Make deploy_dev workflow trigger on pull_request and need a maintainer approval --- .github/workflows/deploy_dev.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_dev.yml index 9a14ad8..bd8cc45 100644 --- a/.github/workflows/deploy_dev.yml +++ b/.github/workflows/deploy_dev.yml @@ -4,10 +4,15 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: + # Allows + pull_request: + jobs: # Build job build-and-deploy-dev: runs-on: ubuntu-latest + # Force to respect the 'dev-deployment' environment rules, in our case 1 maintainer approval + environment: deployment-dev steps: # Checkout repo AND ITS SUBMODULES - name: 🛒 Checkout