Adjust boundaries for integration test #66
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: PR merge/close notification | |
on: | |
pull_request: | |
types: [ closed ] | |
jobs: | |
merge_job: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: send custom message with args | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: "${{ github.event.repository.name }}: | |
the ${{ github.event_name }} '${{ github.event.pull_request.title }}' | |
(#${{ github.event.number }}) was merged. | |
\n[Link](${{ github.event.pull_request.html_url }}). | |
\nDescription:\n${{ github.event.pull_request.body }} | |
\n | |
\nCheck it out to keep your local repository updated." | |
format: markdown | |
disable_web_page_preview: true | |
close_job: | |
if: github.event.pull_request.merged == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: send custom message with args | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: "${{ github.event.repository.name }}: | |
the ${{ github.event_name }} ${{ github.event.pull_request.title }} | |
(${{ github.event.number }}) was closed." |