Skip to content

update-syscalls

update-syscalls #58

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