Skip to content

test: Notify Plex on PRs #1

test: Notify Plex on PRs

test: Notify Plex on PRs #1

Workflow file for this run

name: Notify Slack
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
post-to-slack:
runs-on: ubuntu-latest
steps:
- uses: slackapi/[email protected]
with:
payload: |
{
"text": "New Papr PR: ${{ github.event.pull_request.html_url }}",
"attachments": [
{
"text": "",
"fallback": "Test Papr PR",
"callback_id": "trigger_workflow",
"actions": [
{
"name": "papr_pr",
"text": "Test Papr PR",
"type": "button",
"value": "${{ github.event.pull_request.number }}"
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PAPR_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK