diff --git a/.github/workflows/notif-push-to-slack.yml b/.github/workflows/notif-push-to-slack.yml index 03e8559..1dc8fa9 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 }}" } } ]