Skip to content

Update Blocklist

Update Blocklist #4257

Workflow file for this run

name: Update Blocklist
on: # Define the events that trigger the workflow
schedule:
- cron: '0 * * * *' # Check Every Hours
workflow_dispatch:
jobs:
update-blocklist:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }}
- name: Run update script
run: |
chmod +x update.sh # Make update.sh executable
./update.sh # Run the script
env: # Set environment variables for sensitive data
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
DOMAIN_URL: ${{ secrets.SOURCE_URL }}
IP_URL: ${{ secrets.SOURCE_URL2 }}
SITUS_JUDI: ${{ secrets.SITUS_JUDI }}