-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 883 Bytes
/
commit.yml
File metadata and controls
36 lines (29 loc) · 883 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
31
32
33
34
35
36
name: 'Commit generated C# code'
on:
workflow_call:
permissions: write-all
jobs:
commit-job:
name: 'Commit generated C# code'
runs-on: ubuntu-24.04
if: github.actor == 'dependabot[bot]'
steps:
- name: 'Clone Git repository'
uses: actions/checkout@v2
with:
submodules: 'true'
- name: 'Setup .NET'
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: 'Download changes to commit'
uses: actions/download-artifact@v4
with:
name: 'bindgen-cs'
path: './src/cs/production/Tracy/Generated'
- name: 'Add + commit + push (if necessary)'
uses: EndBug/add-and-commit@v7
with:
author_name: 'clibequilibrium'
author_email: 'clibequilibrium@users.noreply.github.com'
message: 'Update C# bindings'