Skip to content

Commit 0ffd1b8

Browse files
authored
Create main.yml
1 parent 0f88bb5 commit 0ffd1b8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Obfuscator Monitor
2+
on:
3+
schedule:
4+
- cron: '0 0 * * 0' # Weekly
5+
workflow_dispatch: # Manual trigger
6+
7+
jobs:
8+
scan:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Set up Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: '3.x'
17+
18+
- name: Install dependencies
19+
run: pip install requests
20+
21+
- name: Run Scraper
22+
run: |
23+
echo "Running scraper..."
24+
python scrape_obfuscators.py
25+
26+
- name: Create Issue
27+
if: ${{ steps.scraper.outputs.new_entries }}
28+
uses: peter-evans/create-issue-from-file@v3
29+
with:
30+
title: "New Obfuscators Found"
31+
content-filepath: ./new_obfuscators.md

0 commit comments

Comments
 (0)