From 50be32792f08aaf9c1c6dad93fd65afe36f2a23f Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Tue, 12 Nov 2024 18:01:19 -0700 Subject: [PATCH] ci: update cron times --- .github/workflows/blocklist-generate.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/blocklist-generate.yml b/.github/workflows/blocklist-generate.yml index 7a361ee27..d8d88acbe 100644 --- a/.github/workflows/blocklist-generate.yml +++ b/.github/workflows/blocklist-generate.yml @@ -65,8 +65,8 @@ on: # # schedule: - - cron: '0 0,6,12,18 * * *' - - cron: '0 2 * * *' + - cron: '0 2,8,14,20 * * *' + - cron: '0 0 * * *' # # # environment variables @@ -208,7 +208,7 @@ jobs: - name: "🧱 Generate › Master" id: task_blocklist_generate_master run: | - run_master=".github/scripts/bl-master.sh blocklists/master.ipset ${{ secrets.API_01_FILE_01 }} ${{ secrets.API_01_FILE_02 }} ${{ secrets.API_01_FILE_03 }} ${{ secrets.API_01_FILE_04 }} ${{ secrets.API_01_FILE_05 }} ${{ secrets.API_01_FILE_06 }} ${{ secrets.API_01_FILE_07 }} ${{ secrets.API_01_FILE_08 }}" + run_master=".github/scripts/bl-master.sh blocklists/master.ipset ${{ secrets.API_01_FILE_01 }} ${{ secrets.API_01_FILE_02 }} ${{ secrets.API_01_FILE_03 }} ${{ secrets.API_01_FILE_04 }} ${{ secrets.API_01_FILE_05 }} ${{ secrets.API_01_FILE_06 }} ${{ secrets.API_01_FILE_07 }} ${{ secrets.API_01_FILE_08 }} ${{ secrets.API_01_FILE_09 }}" eval "./$run_master" run_highrisk=".github/scripts/bl-htmlip.sh blocklists/highrisk.ipset ${{ secrets.API_01_HIGHRISK_URL }} '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'" @@ -326,10 +326,6 @@ jobs: run_sony=".github/scripts/tool-range-iprange.sh blocklists/privacy/privacy_sony.ipset http://list.iblocklist.com/?list=tukpvrvlubsputmkmiwg" eval "./$run_sony" - # Privacy › Sony Entertainment - run_sony=".github/scripts/tool-range-iprange.sh blocklists/privacy/privacy_sony.ipset http://list.iblocklist.com/?list=tukpvrvlubsputmkmiwg" - eval "./$run_sony" - # Privacy › Punkbuster run_punkbuster=".github/scripts/tool-range-iprange.sh blocklists/privacy/privacy_punkbuster.ipset http://list.iblocklist.com/?list=zvwwndvzulqcltsicwdg" eval "./$run_punkbuster" @@ -372,7 +368,7 @@ jobs: - name: "🧱 Generate › Spam › Forums (1/day)" id: task_blocklist_spam_generate_forums - if: (github.event_name == 'schedule' && github.event.schedule == '0 2 * * *') || inputs.RUN_ALL_ACTIONS + if: (github.event_name == 'schedule' && github.event.schedule == '0 0 * * *') || inputs.RUN_ALL_ACTIONS run: | chmod +x ".github/scripts/bl-plain.sh" run_forums=".github/scripts/bl-plain.sh blocklists/spam/spam_forums.ipset https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_7d.ipset" @@ -447,7 +443,7 @@ jobs: eval "./$run_isp_cox" # ISP › SpaceX Starlink - run_isp_starlink=".github/scripts/bl-whois.sh blocklists/isp/isp_spacex_starlink.ipset AS14593 AS36492 AS397763 AS27277 AS142475" + run_isp_starlink=".github/scripts/bl-whois.sh blocklists/isp/isp_spacex_starlink.ipset AS14593 AS397763 AS27277 AS142475" eval "./$run_isp_starlink" # # @@ -467,7 +463,7 @@ jobs: - name: "🧱 Geographical › GeoLite2 (Setup)" id: task_blocklist_geographical_generate_setup - if: (github.event_name == 'schedule' && github.event.schedule == '0 2 * * *') || ( github.event_name == 'workflow_dispatch' && inputs.RUN_ALL_ACTIONS == 'true' ) + if: (github.event_name == 'schedule' && github.event.schedule == '0 0 * * *') || ( github.event_name == 'workflow_dispatch' && inputs.RUN_ALL_ACTIONS == 'true' ) run: | echo "year_week=$(date +'%U_%Y')" >> $GITHUB_ENV echo "year_day=$(date +'%j_%Y')" >> $GITHUB_ENV