Last active
November 7, 2019 03:03
-
-
Save xinthink/e235da5f921a57670d5950e6023e29b8 to your computer and use it in GitHub Desktop.
medium-custom-github-actions action.yml
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: 'Telegram Action' | |
description: 'Telegram notification for workflow set up with GitHub Actions' | |
author: <name> | |
inputs: | |
botToken: | |
description: 'The Telegram Bot token' | |
required: true | |
chatId: | |
description: 'The target to which the message will be sent, can be a Telegram Channel or Group' | |
required: true | |
jobStatus: | |
description: "The current status of the job: job.status, defaults to 'success'" | |
default: 'success' | |
skipSuccess: | |
description: "Only non-success notifications will be sent if true, include success notifications otherwise, defaults to 'true'" | |
default: 'true' | |
runs: | |
using: 'node12' | |
main: 'lib/main.js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment