Nightly CI #434
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |