diff --git a/.github/workflows/issue-check.yml b/.github/workflows/issue-check.yml index 2f343e2..0ea802b 100644 --- a/.github/workflows/issue-check.yml +++ b/.github/workflows/issue-check.yml @@ -12,8 +12,6 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - env: - name: ${{ github.event.issue.title }} - name: Check for keywords in issue title and body id: check_keywords @@ -22,7 +20,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 - const ISSUE_TITLE = process.env.name + ''; + ISSUE_TITLE='${{ github.event.issue.title }}' # Convert both title and body to lowercase for case-insensitive comparison ISSUE_TITLE_LOWER=$(echo "$ISSUE_TITLE" | tr '[:upper:]' '[:lower:]')