WIP: GEFEST-1341 В чарт Keys в джобу импорта добавлен временный флаг для дата-миграции #170
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: Send notification to Mattermost | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- ready_for_review | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mattermost/action-mattermost-notify@master | |
if: ${{ !github.event.pull_request.draft && !startsWith(github.event.pull_request.title, 'WIP:') && github.event.action != 'edited' && github.event.action != 'ready_for_review'}} | |
with: | |
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} | |
MATTERMOST_USERNAME: Github | |
MATTERMOST_ICON_URL: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/GitHub_Invertocat_Logo.svg/256px-GitHub_Invertocat_Logo.svg.png | |
TEXT: | | |
Создан Pull Request [${{ github.event.pull_request.title }}](${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number }}) | |
Автор: ${{ github.triggering_actor }} | |
- uses: mattermost/action-mattermost-notify@master | |
if: ${{ (github.event.pull_request.draft == false && startsWith(github.event.pull_request.title, 'WIP:') == false && github.event.action == 'edited' && startsWith(github.event.changes.title.from, 'WIP:') == true ) || github.event.action == 'ready_for_review'}} | |
with: | |
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WH_PR }} | |
MATTERMOST_USERNAME: Github | |
MATTERMOST_ICON_URL: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/GitHub_Invertocat_Logo.svg/256px-GitHub_Invertocat_Logo.svg.png | |
TEXT: | | |
Pull Request готов к проверке [${{ github.event.pull_request.title }}](${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number }}) | |
Автор: ${{ github.triggering_actor }} |