File tree Expand file tree Collapse file tree
ops/devlane/dispatch/levers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ readonly LEVERS_DIR
2020readonly JOBS_ROOT_DEFAULT=" $LEVERS_DIR /jobs"
2121readonly BRIDGE_NAME=" Apply Push Bridge"
2222readonly BRIDGE_EMAIL=" noreply@apply-push-bridge"
23+ readonly AUTHOR_NAME=" xormania"
24+ readonly AUTHOR_EMAIL=" 127287135+xormania@users.noreply.github.com"
2325readonly SAFE_PATH=" /usr/local/bin:/usr/bin:/bin"
2426
2527refuse () {
342344
343345if ! env -i HOME=" $OPERATOR_HOME " PATH=" $SAFE_PATH " LANG=C.UTF-8 LC_ALL=C.UTF-8 \
344346 git -C " $worktree " -c user.name=" $BRIDGE_NAME " -c user.email=" $BRIDGE_EMAIL " \
345- commit --quiet --file " $record_dir /message.final" > " $record_dir /commit.log" 2>&1 ; then
347+ commit --quiet --author= " $AUTHOR_NAME < $AUTHOR_EMAIL > " -- file " $record_dir /message.final" > " $record_dir /commit.log" 2>&1 ; then
346348 refuse " bridge could not author landing commit"
347349fi
348350new_sha=$( git -C " $worktree " rev-parse HEAD)
You can’t perform that action at this time.
0 commit comments