Skip to content

Nightly CI

Nightly CI #434

Workflow file for this run

name: Nightly CI
on:
# Runs every day at midnight UTC
schedule:
- cron: "0 0 * * *"
# Manual Dispatch
workflow_dispatch:
jobs:
check-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Parse JSON file
run: |
python3 $GITHUB_WORKSPACE/.github/scripts/update_tool.py --json $GITHUB_WORKSPACE
- name: Create Pull Request
if: ${{ env.NO_UPDATE != '1' }}
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.MY_TOKEN }}
title: "[BOT] Update Tools"
body: |
This is an automated PR.
See the individual commits for details.
commit-message: |
[BOT] Update Tools
branch: update-branch
delete-branch: true