Skip to content

Automatic Offset Generation #441

Automatic Offset Generation

Automatic Offset Generation #441

Workflow file for this run

name: Automatic Offset Generation
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
updateOffsets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "~1.22.2"
check-latest: true
cache-dependency-path: "**/go.sum"
- name: Update offsets
run: make offsets
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update generated offsets
branch: automated/generated-offsets
delete-branch: true
title: '[auto] Update generated offsets'
body: 'This is an automated PR to update the generated Go field offsets.'