Skip to content

Commit 56e60cf

Browse files
committed
Add git user name and email; send error result on failure in slack
1 parent 7976fc0 commit 56e60cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/sync-rebase.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
id: rebase
4343
run: |
4444
echo "Rebasing branch obol on branch master"
45+
git config user.name 'github-actions'
46+
git config user.email 'github-actions@users.noreply.github.com'
4547
git fetch
4648
{
4749
echo "RESULT<<EOF"
@@ -64,7 +66,7 @@ jobs:
6466
SLACK_CHANNEL: dev-stack-releases
6567
SLACK_COLOR: eb3d2c #red
6668
SLACK_ICON: https://obol.org/ObolIcon.png?ref=blog.obol.org
67-
SLACK_MESSAGE: "Failed to rebase branch obol on newly synced branch master due to error"
69+
SLACK_MESSAGE: "Failed to rebase branch obol on newly synced branch master due to error: ${{steps.rebase.outputs.RESULT}}"
6870
SLACK_TITLE: "go-eth2-client rebase failed - error"
6971
SLACK_WEBHOOK: ${{ secrets.SLACK_DEV_STACK_RELEASES_WEBHOOK }}
7072

0 commit comments

Comments
 (0)