Skip to content

Check and push proxies #2055

Check and push proxies

Check and push proxies #2055

Workflow file for this run

name: Check and push proxies
on:
workflow_run:
workflows:
- Get Proxies and push proxies
branches:
- main
types:
- completed
permissions:
contents: write
jobs:
test_proxies:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
fail-fast: false
matrix:
os:
- ubuntu-latest
domains:
- google
- facebook
- twitter
- tiktok
- youtube
- whatsapp
- microsoft
- discord
- instagram
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Check HTTP proxies
run: |
python3 proxyChecker.py -t 20 -s ${{ matrix.domains }}.com -l proxies/http.txt -o proxies/http-tested/${{ matrix.domains }}.txt
- name: Check HTTPS proxies
run: |
python3 proxyChecker.py -t 20 -s ${{ matrix.domains }}.com -l proxies/https.txt -o proxies/https-tested/${{ matrix.domains }}.txt
- name: Commit & Push changes
uses: benkaiser/rebase-commit-push@v1.3
with:
rebase: true
author_email: github-actions@github.com
author_name: github-actions[bot]
branch: main
message: "feat: update checked proxies for ${{ matrix.domains }}"