Skip to content

Commit 5c4668f

Browse files
committed
keepalive: set committer information globally
A subsequent commit will add a step that wants to create merge commits under certain circumstances, in which instance that information is needed not only in the step that that creates a new commit but also the one that performs a merge. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 1314b50 commit 5c4668f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/keepalive.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: "23 19 17 * *" # 7:23pm on every 17th of the month
66
workflow_dispatch:
77

8+
env:
9+
GIT_CONFIG_PARAMETERS: "'user.name=CI' 'user.email=ci@github'"
10+
811
jobs:
912
job:
1013
runs-on: ubuntu-latest
@@ -15,8 +18,6 @@ jobs:
1518
with:
1619
persist-credentials: 'true'
1720
- name: Create and push a commit
18-
env:
19-
GIT_CONFIG_PARAMETERS: "'user.name=CI' 'user.email=ci@github'"
2021
run: |
2122
mkdir -p .github/cached
2223
file='.github/cached/keepalive.txt'

0 commit comments

Comments
 (0)