Skip to content

Commit

Permalink
add slack notif
Browse files Browse the repository at this point in the history
  • Loading branch information
bigorn0 committed Jul 23, 2024
1 parent 55a8f58 commit 66a6feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notif-push-to-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}"
}
}
]
Expand Down

0 comments on commit 66a6feb

Please sign in to comment.