Update index.html with 1 additional line. #1
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: Test Notifications to Slack on Pull Request | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
notifications: | |
name: Send Notifications | |
runs-on: ubuntu-latest | |
environment: development | |
steps: | |
- name: Send GitHub Action trigger data to Slack workflow | |
id: slack | |
uses: slackapi/[email protected] | |
with: | |
payload: | | |
{ | |
"Notification Type": "Pull Request", | |
"Notification URL":${{ github.event.pull_request.html_url }}, | |
"GitHub Repo": ${{ github.repository }}, | |
"PR Title": ${{ github.event.pull_request.title }} | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |