Browse Source

Update issue-check.yml

pull/4568/head
ImSwordQueen 3 months ago committed by GitHub
parent
commit
c64ed332ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/issue-check.yml

6
.github/workflows/issue-check.yml

@ -12,7 +12,9 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
env:
name: ${{ github.event.inputs.NAME }}
- name: Check for keywords in issue title and body - name: Check for keywords in issue title and body
id: check_keywords id: check_keywords
run: | 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") 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 # 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 # Convert both title and body to lowercase for case-insensitive comparison
ISSUE_TITLE_LOWER=$(echo "$ISSUE_TITLE" | tr '[:upper:]' '[:lower:]') ISSUE_TITLE_LOWER=$(echo "$ISSUE_TITLE" | tr '[:upper:]' '[:lower:]')

Loading…
Cancel
Save