Skip to content

Refresh online testcases #21

Refresh online testcases

Refresh online testcases #21

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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
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"