Skip to content

Commit daa25de

Browse files
committed
update git env in workflow
1 parent 9df2cfb commit daa25de

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/godel_build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ on:
44
push:
55
branches: [ main, lhk_dev ]
66
pull_request:
7-
branches: [ main, lhk_dev ]
7+
branches: [ main ]
88

99
jobs:
1010
linux-x86_64-build:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
submodules: true
16+
- name: Update Git Env
17+
run: |
18+
git config user.name "$(git log -n 1 --pretty=format:%an)"
19+
git config user.email "$(git log -n 1 --pretty=format:%ae)"
1420
- name: Build
1521
run: |
1622
cd godel-script

0 commit comments

Comments
 (0)