From 0515489a23c80c86c8d239a50b89e54aae7ed287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=8A=D9=88=D8=B3=D9=81?= <45167695+YousefEZ@users.noreply.github.com> Date: Sat, 9 Mar 2024 22:30:07 +0000 Subject: [PATCH] :zap: only run if not draft --- .github/workflows/ns3-compile.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ns3-compile.yml b/.github/workflows/ns3-compile.yml index bb7b8baf..22853cdb 100644 --- a/.github/workflows/ns3-compile.yml +++ b/.github/workflows/ns3-compile.yml @@ -1,9 +1,12 @@ name: Check if Compiles -on: [push] +on: + pull_request: + types: [opened, synchronize, reopened] jobs: check-if-compiles: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout code