Skip to content
Snippets Groups Projects
Commit 8ebfa611 authored by Nick Volynkin's avatar Nick Volynkin
Browse files

ci: report PRs from TarantoolBot to main chat

Report workflow failures in PRs made by TarantoolBot to the same chat
as with stable branches. Such PRs are used for automated integration
testing, so it's important for the team to notice failures in them.
There is no personal chat for TarantoolBot and no need to make one.

NO_DOC=CI reporting
NO_TEST=CI reporting
NO_CHANGELOG=CI reporting
parent b07d00a3
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,8 @@ runs:
# the team chat. Report failures occurred in PRs and other branches
# to the personal chat.
if [[ ${{ github.ref }} == refs/heads/master ||
${{ github.ref }} =~ refs/heads/[0-9].[0-9]+$ ]]; then
${{ github.ref }} =~ refs/heads/[0-9].[0-9]+$ ||
${{ github.actor }} == TarantoolBot ]]; then
echo CHAT_ID="${{ inputs.chat-id }}" | tee -a $GITHUB_ENV
else
echo CHAT_ID="${{ inputs.chat-id }}_${{ github.actor }}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment