Skip to content

update: update syscalls tables. #52

update: update syscalls tables.

update: update syscalls tables. #52

Workflow file for this run

name: Update system calls data
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 2' # Each tuesday
# also run on repo changes
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
update-tables:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: install packages data
run: sudo apt-get update
# without x32 headers we get i386 data for x32
- name: install x32 headers
run: sudo apt-get install libc6-dev-x32
- name: Checkout syscalls-table
uses: actions/checkout@v4
with:
path: syscalls-table/
ref: master
- name: Checkout Linux
uses: actions/checkout@v4
with:
path: linux
repository: torvalds/linux
- name: Update system calls data
working-directory: syscalls-table/
run: |
bash scripts/update-tables.sh $GITHUB_WORKSPACE/linux/
- name: Check linux version
working-directory: linux/
run: |
LINUX_VER=$(make kernelversion)
echo "VERSION=$LINUX_VER" >> $GITHUB_ENV
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
path: syscalls-table/
signoff: true
base: master
branch: update/tables
title: 'update: update syscalls tables.'
body: |
This autogenerated PR updates the tables of syscalls from kernel ${{ env.VERSION }}. Do not edit this PR.
```
commit-message: 'update: update syscalls tables.'
token: ${{ secrets.GITHUB_TOKEN }}