LEAF 4435 dragdrop enhancements #2486
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: PR | |
on: | |
# Trigger the workflow on push or pull request for master | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
send-team-notification: | |
name: PullRequestAction | |
runs-on: ubuntu-latest | |
steps: | |
- name: Pull Request | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: aliencube/[email protected] | |
with: | |
webhook_uri: ${{ secrets.WEBHOOK_URI }} | |
title: '' | |
# Message summary | |
summary: 'Pull Request' | |
# Message text | |
text: '' | |
# Message theme color | |
theme_color: '' | |
# JSON array for message sections | |
sections: '[{ "activityImage": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png", "activityTitle": "Pull Request", "activitySubtitle": "Event triggered by ${{ github.event.pull_request.user.login }}", "activityText": "Pull Request: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})" }]' | |
# JSON array for message actions | |
actions: '[{ "@type": "OpenUri", "name": "View Pull Request", "targets": [{ "os": "default", "uri": "${{ github.event.pull_request.html_url }}" }] }]' |