From 3577c3a6704c779834315966388c70f94ce94a02 Mon Sep 17 00:00:00 2001 From: Mo Langning <133737702+molangning@users.noreply.github.com> Date: Fri, 5 Apr 2024 09:54:01 +0000 Subject: [PATCH] Added workflow file --- .bin/trickest-updater.sh | 12 ------------ .../wordlist-updater_trickest-wordlists.yml | 6 +++--- 2 files changed, 3 insertions(+), 15 deletions(-) delete mode 100755 .bin/trickest-updater.sh diff --git a/.bin/trickest-updater.sh b/.bin/trickest-updater.sh deleted file mode 100755 index 203d3df9..00000000 --- a/.bin/trickest-updater.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/bash - -set -e -set -o pipefail - -mkdir -p .working_space -cd .working_space -git clone --depth=1 https://github.com/trickest/wordlists.git -cd ../ - -./.bin/trickest-patcher.py -rm -rf .working_space \ No newline at end of file diff --git a/.github/workflows/wordlist-updater_trickest-wordlists.yml b/.github/workflows/wordlist-updater_trickest-wordlists.yml index 725bbdd9..c69288e8 100644 --- a/.github/workflows/wordlist-updater_trickest-wordlists.yml +++ b/.github/workflows/wordlist-updater_trickest-wordlists.yml @@ -1,8 +1,8 @@ -name: Wordlist Updater - Trickest wordlists updater +name: Wordlist Updater - Remote wordlists updater on: schedule: - - cron: 0 0 * * * + - cron: 0 * * * * workflow_dispatch: @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - name: Update lists - run: ./.bin/trickest-updater.sh + run: ./.bin/wordlist-updaters/updater.py - name: Commit files if changed run: |