Refresh online testcases #18
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: Refresh online testcases | |
on: | |
workflow_dispatch: | |
schedule: | |
# tuesday every other month at 4PM UTC | |
- cron: "0 16 * */2 2" | |
jobs: | |
refresh: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # for branch creation | |
pull-requests: write # for PR creation | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ">=3.11" | |
cache: "pip" | |
cache-dependency-path: pyproject.toml | |
- name: regenerate online testcases | |
run: make online-cases | |
- name: create PR | |
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5 | |
with: | |
commit-message: "[BOT] update online testcases" | |
branch: update-online-testcases | |
branch-suffix: timestamp | |
title: "[BOT] update online testcases" | |
body: | | |
This is an automated pull request, updating the cached online testcases | |
in Limbo. | |
Please review manually before merging. | |
add-paths: limbo/_assets/online | |
assignees: "woodruffw" | |
reviewers: "woodruffw" |