π΅οΈββοΈ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.
Python cybersecuritycybersecurity-toolsemail-osintethical-hackingethical-hacking-toolsidentificationinfosecosintosint-emailosint-toolosint-toolsosint-usernamepentestingpythonredteam-toolsredteamingthreat-intelligence
ci: split workflows into push and PR variants
kaifcodec2fdab0e3e376
diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.ymlnew file mode 100644index 0000000..c6a1ec2--- /dev/null+++ b/.github/workflows/lint-pr.yml@@ -0,0 +1,35 @@+name: Lint & Type Checks++on:+ pull_request:++permissions:+ contents: read++jobs:+ lint:+ name: Lint & types (ruff + mypy)+ runs-on: ubuntu-latest+ strategy:+ matrix:+ python-version: [3.11]+ steps:+ - name: Checkout+ uses: actions/checkout@v4++ - name: Set up Python+ uses: actions/setup-python@v4+ with:+ python-version: ${{ matrix.python-version }}++ - name: Install linters+ run: |+ python -m pip install --upgrade pip+ pip install httpx colorama types-colorama+ pip install ruff mypy++ - name: Run ruff+ run: ruff check .++ - name: Run mypy+ run: mypy user_scannerdiff --git a/.github/workflows/lint.yml b/.github/workflows/lint-push.ymlsimilarity index 52%rename from .github/workflows/lint.ymlrename to .github/workflows/lint-push.ymlindex 1622760..ca709b1 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint-push.yml@@ -2,7 +2,6 @@ name: Lint & Type Checkson:push:- pull_request:branches: [ main ]permissions:@@ -10,7 +9,6 @@ permissions:jobs:lint:- if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'name: Lint & types (ruff + mypy)runs-on: ubuntu-lateststrategy:@@ -31,18 +29,8 @@ jobs:pip install httpx colorama types-coloramapip install ruff mypy- - name: Show installed linters- run: |- ruff --version || true- mypy --version || true- pip freeze | sed -n '1,200p'-- - name: Run ruff (style/lint)- run: |- echo "==== Running ruff ===="- ruff check . || { echo "Ruff failed"; exit 1; }+ - name: Run ruff+ run: ruff check .- - name: Run mypy (type checks)- run: |- echo "==== Running mypy ===="- mypy user_scanner || { echo "Mypy found issues"; exit 1; }+ - name: Run mypy+ run: mypy user_scannerdiff --git a/.github/workflows/tests-pr.yml b/.github/workflows/tests-pr.ymlnew file mode 100644index 0000000..9caabb4--- /dev/null+++ b/.github/workflows/tests-pr.yml@@ -0,0 +1,63 @@+name: Tests (pytest + coverage)++on:+ pull_request:++permissions:+ contents: read++jobs:+ test:+ name: Test (pytest + coverage) β ${{ matrix.python-version }}+ runs-on: ubuntu-latest+ strategy:+ matrix:+ python-version: ["3.10"]++ steps:+ - name: Checkout+ uses: actions/checkout@v4++ - name: Set up Python+ uses: actions/setup-python@v4+ with:+ python-version: ${{ matrix.python-version }}++ - name: Show Python info+ run: |+ python --version+ which python+ python -m pip --version++ - name: Cache pip+ uses: actions/cache@v4+ with:+ path: ~/.cache/pip+ key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}+ restore-keys: |+ ${{ runner.os }}-pip-++ - name: Install package & test deps+ run: |+ python -m pip install --upgrade pip+ pip install .+ pip install pytest pytest-cov++ - name: Show installed packages+ run: pip freeze | sed -n '1,200p'++ - name: Run pytest with coverage+ run: |+ mkdir -p test-output+ pytest -vv --maxfail=1 --disable-warnings \+ --junitxml=test-output/report.xml \+ --cov=user_scanner \+ --cov-report=xml:test-output/coverage.xml \+ --cov-report=term++ - name: Upload test artifacts+ if: always()+ uses: actions/upload-artifact@v4+ with:+ name: test-reports-${{ matrix.python-version }}+ path: test-outputdiff --git a/.github/workflows/ci.yml b/.github/workflows/tests-push.ymlsimilarity index 53%rename from .github/workflows/ci.ymlrename to .github/workflows/tests-push.ymlindex 8fc9282..4976dd5 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/tests-push.yml@@ -2,7 +2,6 @@ name: Tests (pytest + coverage)on:push:- pull_request:branches: [ main ]permissions:@@ -10,12 +9,12 @@ permissions:jobs:test:- if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'name: Test (pytest + coverage) β ${{ matrix.python-version }}runs-on: ubuntu-lateststrategy:matrix:python-version: ["3.10"]+steps:- name: Checkoutuses: actions/checkout@v4@@ -45,43 +44,21 @@ jobs:pip install .pip install pytest pytest-cov- - name: Show installed packages (top)- run: |- pip freeze | sed -n '1,200p'+ - name: Show installed packages+ run: pip freeze | sed -n '1,200p'- - name: Run pytest (verbose) with coverage and generate JUnit XML+ - name: Run pytest with coveragerun: |mkdir -p test-outputpytest -vv --maxfail=1 --disable-warnings \--junitxml=test-output/report.xml \- --cov=user_scanner --cov-report=xml:test-output/coverage.xml --cov-report=term-- - name: Show pytest junit xml (head)- if: always()- run: |- echo "==== JUnit report (head) ===="- sed -n '1,200p' test-output/report.xml || true- echo "==== JUnit report (tail) ===="- sed -n '200,400p' test-output/report.xml || true+ --cov=user_scanner \+ --cov-report=xml:test-output/coverage.xml \+ --cov-report=term- - name: Show coverage xml (head)- if: always()- run: |- echo "==== Coverage XML (head) ===="- sed -n '1,200p' test-output/coverage.xml || true-- - name: Upload test & coverage artifacts+ - name: Upload test artifactsif: always()uses: actions/upload-artifact@v4with:name: test-reports-${{ matrix.python-version }}path: test-output-- - name: (Optional) Upload coverage to Codecov- if: success() && env.CODECOV_TOKEN != ''- uses: codecov/codecov-action@v4- with:- files: test-output/coverage.xml- token: ${{ secrets.CODECOV_TOKEN }}- env:- CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}