Automatic Offset Generation #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automatic Offset Generation | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
updateOffsets: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update offsets | |
run: | | |
make docker-offsets | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v5 | |
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.' |