From ab18b795c81c52ebc86ce0e867caadea9e11ed2e Mon Sep 17 00:00:00 2001
From: Jeremy Kahn <jeremyckahn@gmail.com>
Date: Sat, 11 Nov 2023 11:01:47 -0600
Subject: [PATCH] chore(zap_scan): remove schedule and don't create issue

---
 .github/workflows/security.yml | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index f4583da..dd10e5d 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -1,13 +1,7 @@
-name: Perform Weekly Security Audit with ZAProxy
+name: Perform Security Audit with ZAProxy
 # Use ZAP Proxy to perform a full scan of the production site.
-# Scan automatically opens an issue after completion
-# with results of the audit.
 
 on:
-  schedule:
-    # 00:00 UTC Midnight on Mondays
-    - cron: '0 0 * * 1'
-
   # manually trigger workflow
   workflow_dispatch:
 
@@ -36,5 +30,5 @@ jobs:
         with:
           target: 'https://chitchatter.im/'
           rules_file_name: '.zap/rules.tsv'
-          issue_title: 'Security Report - ${{ steps.set-now.outputs.NOW }}'
           artifact_name: 'zap_scan_${{ steps.set-now.outputs.NOW }}'
+          allow_issue_writing: false