[DRAFT] Use a unified memory pool #69
Workflow file for this run
This file contains hidden or 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: Slack Notifications | |
on: | |
issues: | |
types: [opened, reopened, edited] | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send issue notification to Slack | |
if: github.event_name == 'issues' | |
uses: slackapi/[email protected] | |
with: | |
webhook: ${{ secrets.SLACK_WEBHOOK_URL_ISSUE }} | |
webhook-type: incoming-webhook | |
payload: | | |
{ | |
"action": "${{ github.event.action }}", | |
"issue_url": "${{ github.event.issue.html_url }}" | |
} | |
- name: Send pull request notification to Slack | |
if: github.event_name == 'pull_request_target' | |
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 }}" | |
} |