Skip to content

UHB Test Scheduler #958

UHB Test Scheduler

UHB Test Scheduler #958

Workflow file for this run

name: UHB Test Scheduler
on:
schedule:
- cron: "24 11 * * *"
env:
GIT_NAME: "${{ secrets.GIT_BOT_NAME }}"
GIT_EMAIL: "${{ secrets.GIT_BOT_EMAIL }}"
GITHUB_TOKEN: "${{ secrets.BOT_REPO_PAT }}"
jobs:
trigger:
name: Trigger action
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
python_version:
- "3.11"
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Clone repository
with:
token: "${{ secrets.BOT_REPO_PAT }}"
- name: Create local change
run: |
date +%s > "${{ github.workspace }}/.trigger"
- name: Commit changes
run: |
git config --local user.email "$GIT_EMAIL"
git config --local user.name "$GIT_NAME"
git commit -m "[Ultimate Hosts Blacklist][Test Scheduler]" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.BOT_REPO_PAT }}
branch: ${{ github.ref }}