Update offsets #524
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: Update offsets | |
on: | |
schedule: | |
- cron: '1 1 * * *' | |
workflow_dispatch: | |
jobs: | |
UpdateOffsets: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: "Update Go" | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.23' | |
check-latest: true | |
- name: "Update offsets" | |
run: make update-offsets | |
- name: "Create/update PR" | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Automatic update of offsets.json | |
title: Automatic update of offsets.json | |
body: The offsets have been updated by go-offsets-tracker | |
base: main | |
branch: offset-content-auto-update | |
labels: automated-pr | |
delete-branch: true |