Skip to content

fix(file-upload): link in upload error (#DS-2971) #446

fix(file-upload): link in upload error (#DS-2971)

fix(file-upload): link in upload error (#DS-2971) #446

Workflow file for this run

name: Notification PR
on:
pull_request_target:
types:
- opened
jobs:
notify:
name: Pull Request Notification
runs-on: ubuntu-latest
steps:
- name: Notification
uses: mattermost/action-mattermost-notify@master
env:
PR_URL: https://github.com/${{ github.repository }}/pull/${{ github.event.number }}
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
MATTERMOST_CHANNEL: ${{ secrets.MM_CHANNEL_NAME }}
MATTERMOST_USERNAME: ${{ secrets.MM_BOT_NAME }}
TEXT: |
[${{ github.repository }}] | [${{ github.event.pull_request.title }} #${{ github.event.number }}](${{ env.PR_URL }}) was created by ${{ github.actor }}
- name: Notification to BotChannel
uses: mattermost/action-mattermost-notify@master
env:
PR_URL: https://github.com/${{ github.repository }}/pull/${{ github.event.number }}
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
MATTERMOST_CHANNEL: ${{ secrets.MM_CHANNEL_BOT_PR }}
MATTERMOST_USERNAME: ${{ secrets.MM_BOT_NAME }}
TEXT: |
[${{ github.repository }}] | [${{ github.event.pull_request.title }} #${{ github.event.number }}](${{ env.PR_URL }}) was created by ${{ github.actor }}