From 0937fd112a991771171a302455fbef55b678e33a Mon Sep 17 00:00:00 2001 From: Ugo Bechameil Date: Tue, 23 Jul 2024 12:23:14 +0200 Subject: [PATCH] add slack notif --- .github/workflows/notif-push-to-slack.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notif-push-to-slack.yml b/.github/workflows/notif-push-to-slack.yml index 03e8559e..1dc8fa98 100644 --- a/.github/workflows/notif-push-to-slack.yml +++ b/.github/workflows/notif-push-to-slack.yml @@ -7,7 +7,7 @@ on: jobs: notify: runs-on: ubuntu-latest - if: github.event.pusher.name == 'pdesmarets' + if: github.event.pusher.name == '${{ secrets.COMMIT_PUSH_SOURCE }}' env: AUTHOR: ${{ github.event.pusher.name }} steps: @@ -24,7 +24,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "Direct push to develop: ${{ github.event.head_commit.url }}" + "text": "Push: ${{ github.event.head_commit.url }}" } } ]