Skip to content

Conversation

rffontenelle
Copy link
Collaborator

This removes blank lines, and disables secondary jobs as well in forks.

This also adds a Telegram notification with the message like:

"❌ Falha na execução do workflow, job update (ID 142965052). Saiba mais sobre o erro..."

where "update" is the job name, and 142965052 is the unique job run ID. Both variable.

Currently set only to 'update' (to notify in case of pip install errors, or push errors), and 'build-warn-as-err' to notify RST syntax errors. I didn't add to spellcheck and merge as I thought it wouldn't be necessary.

NOTE: It is required to set TELEGRAM_TO with the recipient ID (the group ID), and TELEGRAM_TOKEN with the sender ID (l17obot's, I assume) in the repository's secret variables.

Currently, the 'update' job does not run, so other jobs are canceled.
However, they are still listed in Actions daily run as canceled.  The
intention of this commit is to not show at all.
It makes easier to read which lines are from which job
When 'update' and 'build-warn-as-err' fail, a Telegram notification
is now sent.  TELEGRAM_TO is the recipient ID (group or person) and
TELEGRAM_TOKEN is the sender's token which is a bot that must exist
@rougeth
Copy link
Collaborator

rougeth commented Jul 20, 2020

Sorry the delay :/

@rougeth
Copy link
Collaborator

rougeth commented Jul 20, 2020

New environment variables configured.

@rougeth rougeth merged commit b4a887c into python:3.9 Jul 20, 2020
@rffontenelle rffontenelle deleted the improve-workflow branch July 20, 2020 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants