forked from open-telemetry/opentelemetry-go-instrumentation
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 756 Bytes
/
offsets.yml
File metadata and controls
30 lines (25 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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@v4
with:
go-version: "1.21.2"
cache-dependency-path: "**/go.sum"
- name: Update offsets
run: make 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.'