feat: Support readonly options for Types.string and Types.number #451
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: Notify Plex | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
notify-plex: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.head_ref, 'renovate') }} | |
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: ${{ vars.SLACK_PAPR_WEBHOOK_URL }} | |
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK |