Skip to content

Commit

Permalink
build(slack-notification): Fix rit GH workflow to not send slack noti…
Browse files Browse the repository at this point in the history
…fication with empty token
  • Loading branch information
Vovchyk committed Jan 31, 2025
1 parent 9bef071 commit 57c86f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
repo-owner: ${{ env.REPO_OWNER }}

- name: Send Slack Notification on Success
if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart'
if: success() && github.event.pull_request.head.repo.owner.login == 'rsksmart' && secrets.GHA_SLACK_NOTIFICATION_TOKEN != ''
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
env:
SLACK_BOT_TOKEN: ${{ secrets.GHA_SLACK_NOTIFICATION_TOKEN }}
Expand Down

0 comments on commit 57c86f6

Please sign in to comment.