From e45cb661bf983bd44f6172a3f48a1386155c9814 Mon Sep 17 00:00:00 2001 From: Alban Diquet Date: Sun, 31 Jan 2021 15:00:45 -0800 Subject: [PATCH] Only run Apache2 scan on main branch --- .github/workflows/scan_apache2_server.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scan_apache2_server.yml b/.github/workflows/scan_apache2_server.yml index c4a1f0d3..29104160 100644 --- a/.github/workflows/scan_apache2_server.yml +++ b/.github/workflows/scan_apache2_server.yml @@ -1,6 +1,10 @@ name: Scan Apache2 Web Server -on: push +on: + push: + branches: [ release ] + pull_request: + branches: [ release ] jobs: build: