From c64ed332ec49d5ca451e415c1e4a1a529334dee2 Mon Sep 17 00:00:00 2001 From: ImSwordQueen <52015098+ImSwordQueen@users.noreply.github.com> Date: Sun, 14 Sep 2025 20:33:43 +0200 Subject: [PATCH] Update issue-check.yml --- .github/workflows/issue-check.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-check.yml b/.github/workflows/issue-check.yml index 55b02bc..cf62355 100644 --- a/.github/workflows/issue-check.yml +++ b/.github/workflows/issue-check.yml @@ -12,7 +12,9 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - + env: + name: ${{ github.event.inputs.NAME }} + - name: Check for keywords in issue title and body id: check_keywords run: | @@ -20,7 +22,7 @@ jobs: keywords=("Virus" "Malware" "trojan" "Windows Defender" "Antivirus" "bitdefender" "defender" "kaspersky" "unwanted" "harmful" "HackTool:Win64/ExplorerPatcher!MTB" "HackTool:Win64/Patcher!MSR" "HackTool" "Backdoor" "detection" "Norton" "Windows Security" "Win64:MalwareX-gen" "Microsoft Defender" "infected" "Potentially unwanted app found" "potentially unwanted software" "VIRUSTOTAL") # Get the issue title and body from the event context - ISSUE_TITLE='${{ toJson(github.event.issue.title) }}' + const ISSUE_TITLE = process.env.name + ''; # Convert both title and body to lowercase for case-insensitive comparison ISSUE_TITLE_LOWER=$(echo "$ISSUE_TITLE" | tr '[:upper:]' '[:lower:]')