-
Notifications
You must be signed in to change notification settings - Fork 294
30 lines (30 loc) · 931 Bytes
/
update-syscalls.yml
File metadata and controls
30 lines (30 loc) · 931 Bytes
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
name: update-syscalls
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
if: github.repository == 'DMOJ/judge-server'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Update syscalls
run: |
cd dmoj/cptbox/syscalls
python generate.py
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
author: dmoj-build <[email protected]>
committer: dmoj-build <[email protected]>
commit-message: 'cptbox: update syscall lists'
title: 'Update syscall lists'
body: This PR has been auto-generated to update the syscall definitions in `cptbox`.
labels: cptbox, security, enhancement
reviewers: Xyene, quantum5
branch: update-syscalls