Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/slack-issue-notifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This is a basic workflow to update the qcli-issue-notifier Slack workflow when a new issue is created
name: Slack Issue Notifier

# Runs when new issue is created
on:
issues:
types:
- opened

jobs:
send_message:
runs-on: ubuntu-latest
steps:

# Send username and issue URL to webhook
- name: send_message
run: |
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"user": "${{ github.event.issue.user.login }}",
"URL": "${{ github.event.issue.html_url }}"
}' \
${{ secrets.SLACK_ISSUE_WEBHOOK_URL }}
Loading