From 9700f0e9b69c32bce5dea99ed7c8639874cad8a1 Mon Sep 17 00:00:00 2001
From: Alban Diquet <nabla.c0d3@gmail.com>
Date: Sun, 21 Feb 2021 21:02:21 -0800
Subject: [PATCH] Only run IIS workflow on release

---
 .github/workflows/scan_iis_server.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/scan_iis_server.yml b/.github/workflows/scan_iis_server.yml
index a3739e4a..9ff068c2 100644
--- a/.github/workflows/scan_iis_server.yml
+++ b/.github/workflows/scan_iis_server.yml
@@ -1,7 +1,10 @@
 name: Scan IIS Web Server
 
-
-on: push
+on:
+  push:
+    branches: [ release ]
+  pull_request:
+    branches: [ release ]
 
 jobs:
   build: