Skip to content

Commit

Permalink
ci: fixed slack webhooks in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bassam-deriv committed Feb 8, 2024
1 parent 116f91c commit c21986f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/send_slack_notifications/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: send_slack_notifications
description: Send Slack notifications
inputs:
SLACK_WEBHOOK_URL:
SLACK_WEBHOOK_PACKAGE_UPDATE:
description: "Slack webhook URL"
required: true
PR_TITLE:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
}
]
}" \
${{ inputs.SLACK_WEBHOOK_ISSUES }}
${{ secrets.SLACK_WEBHOOK_ISSUES }}
shell: bash

2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ jobs:
uses: ./.github/actions/send_slack_notifications
if: ${{ contains(steps.push-tag.outputs.PUSH_OUTPUT, 'Packages updated') }}
with:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_PACKAGE_UPDATE: ${{ secrets.SLACK_WEBHOOK_PACKAGE_UPDATE }}
PR_TITLE: ${{ github.event.pull_request.title }}
TAGS: ${{ steps.new-tags.outputs.NEW_TAGS }}

0 comments on commit c21986f

Please sign in to comment.