From 842b039d0d235fc8217ca933ca66afa6b2d56129 Mon Sep 17 00:00:00 2001
From: Jeremy Kahn <jeremyckahn@gmail.com>
Date: Fri, 10 Nov 2023 14:27:55 -0600
Subject: [PATCH] chore(actions): remove label-security-report

---
 .github/workflows/label_security_issue.yml | 29 ----------------------
 README.md                                  |  2 +-
 2 files changed, 1 insertion(+), 30 deletions(-)
 delete mode 100644 .github/workflows/label_security_issue.yml

diff --git a/.github/workflows/label_security_issue.yml b/.github/workflows/label_security_issue.yml
deleted file mode 100644
index 9e01037..0000000
--- a/.github/workflows/label_security_issue.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: Label Security Report
-
-on:
-  issues:
-    types:
-      - opened
-
-jobs:
-  label-security-report:
-    runs-on: ubuntu-latest
-    permissions:
-      issues: write
-
-    steps:
-      - name: Check if issue title starts with "Security Report -"
-        id: check_title
-        run: echo "::set-output name=startsWithSecurityReport::$(echo ${{ github.event.issue.title }} | grep -q '^Security Report -' && echo true || echo false)"
-
-      - name: Add labels
-        if: steps.check_title.outputs.startsWithSecurityReport == 'true'
-        uses: actions/github-script@v6
-        with:
-          script: |
-            github.rest.issues.addLabels({
-              issue_number: context.issue.number,
-              owner: context.repo.owner,
-              repo: context.repo.repo,
-              labels: ["security", "reports"]
-            })
diff --git a/README.md b/README.md
index 39e5c1f..dd0f398 100644
--- a/README.md
+++ b/README.md
@@ -233,7 +233,7 @@ Per [#36](https://github.com/jeremyckahn/chitchatter/issues/36), check your `abo
 
 ##### Security
 
-Chitchatter undergoes [weekly security audits](https://github.com/jeremyckahn/chitchatter/blob/develop/.github/workflows/security.yml) to identify and address potential vulnerabilities. Reports from all audits can be found in [the **Issues** section filtered by the `security` label](https://github.com/jeremyckahn/chitchatter/issues?q=is%3Aissue+is%3Aopen+label%3Asecurity).
+Chitchatter undergoes [weekly security audits](https://github.com/jeremyckahn/chitchatter/blob/develop/.github/workflows/security.yml) to identify and address potential vulnerabilities. Reports from all audits can be found in [**Issues**](https://github.com/jeremyckahn/chitchatter/issues?q=%22Security+Report+-+%22).
 
 ### Contributors