Skip to content

Commit

Permalink
Update notif-push-to-slack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bigorn0 authored Jul 23, 2024
1 parent c92d64c commit 6491923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/notif-push-to-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:
jobs:
notify:
runs-on: ubuntu-latest
if: github.event.pusher.name == ${{ secrets.COMMIT_PUSH_SOURCE }}
env:
AUTHOR: ${{ github.event.pusher.name }}
COMMIT_PUSH_SOURCE: ${{ secrets.COMMIT_PUSH_SOURCE }}
steps:
- name: notify slack
id: slack
if: ${{ env.AUTHOR != env.COMMIT_PUSH_SOURCE }}
uses: slackapi/slack-github-action@v1.26.0
with:
channel-id: 'develop-direct-pushes'
Expand Down

0 comments on commit 6491923

Please sign in to comment.