Update DCP sample in README.md #568
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Slack Notifier | |
on: | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send notification to Slack | |
uses: slackapi/[email protected] | |
with: | |
webhook: ${{ secrets.SLACK_WEBHOOK_URL_PR }} | |
webhook-type: incoming-webhook | |
payload: | | |
{ | |
"action": "${{ github.event.action }}", | |
"url": "${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | |
} |