Proxy Scanner #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Proxy Scanner | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 */6 * * *" | |
jobs: | |
scanner: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: proxy-scan | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GIT_TOKEN }} | |
- name: Use Bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Start Scan | |
run: | | |
bun install && bun run ./helper/proxyip.ts | |
- name: Publish Result | |
if: ${{ success() }} | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: '["./*List.txt", "./*List.json"]' | |
default_author: github_actions | |
fetch: false | |
tag_push: "--force" | |
message: "Update proxy list" |