Skip to content

Commit

Permalink
ci: fixed SLACK_BOT_TOKEN reference
Browse files Browse the repository at this point in the history
  • Loading branch information
bassam-deriv committed Feb 6, 2024
1 parent 8bd89bc commit 163dde0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/issue_created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ jobs:
run: sudo apt-get install jq

- name: Send Slack Notification on Github Issue Opened
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
run: |
LABELS=$(echo '${{ toJson(github.event.issue.labels.*.name) }}' | jq -r 'join(", ")')
curl -X POST -H 'Authorization: Bearer $SLACK_BOT_TOKEN' \
curl -X POST -H 'Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}' \
-H 'Content-type: application/json' \
--data "{
\"channel\": \"flutter_deriv_packages_issues\",
Expand Down

0 comments on commit 163dde0

Please sign in to comment.