-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 756 Bytes
/
commit.yml
File metadata and controls
32 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
31
32
name: "Commit generated C# code"
on:
workflow_call:
permissions: write-all
jobs:
commit-job:
name: "Commit generated C# code"
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: "Clone Git repository"
uses: actions/checkout@v2
with:
submodules: 'true'
- name: "Download changes to commit"
uses: actions/download-artifact@v1
with:
name: "bindgen-cs"
path: "./src/cs/production/optick"
- name: "Add + commit + push (if necessary)"
uses: EndBug/add-and-commit@v7
with:
author_name: 'lithiumtoast'
author_email: 'lithiumtoast@users.noreply.github.com'
message: "Update C# bindings"