-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (35 loc) · 1.15 KB
/
refresh-online-testcases.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"