From c83985c531e0dd81ea1db9ec3f947aea9fe5258c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 25 Sep 2019 22:09:04 +0800 Subject: [PATCH] add custom message Signed-off-by: Bo-Yi Wu --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6af9ceb..53c7456 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: send custom message + - name: send custom message with args uses: appleboy/telegram-action@master env: TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} @@ -47,3 +47,13 @@ jobs: env: TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }} + + - name: send custom message + uses: appleboy/telegram-action@master + env: + TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} + TELEGRAM_TO: ${{ secrets.TELEGRAM_TO }} + with: + message: | + The ${{ github.event_name }} event triggered final step. + echo This event is a pull request that had an assignee removed.