From e51785a15c17fcffa567e3d586673665ad72092f Mon Sep 17 00:00:00 2001 From: Be Date: Sat, 2 Mar 2024 11:28:04 +0100 Subject: [PATCH] Automate blacklist updater --- .github/workflows/bl.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/bl.yml diff --git a/.github/workflows/bl.yml b/.github/workflows/bl.yml new file mode 100644 index 0000000..1ced2f4 --- /dev/null +++ b/.github/workflows/bl.yml @@ -0,0 +1,29 @@ +name: BlackLists updater + +env: + #GITHUB_TOKEN: ${{ secrets.GHUB_TOKEN }} + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + build: + name: 'Blacklists/update' + + runs-on: ubuntu-22.04 + + defaults: + run: + shell: bash + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v2 + with: + python-version: 3.11 + - run: ./requirements.sh + - run: ./blacklists_updater.sh + - run: cat blacklist*txt