diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-07-06 13:15:45 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-07-06 13:15:45 +0200 |
commit | 09b588f672071166831e621e86819b24ea6d5544 (patch) | |
tree | 18d19b4668161f55b7b07ed545f9043d758a3a34 | |
parent | f50faee0eaac79fc57f7090abb060cf587a83d73 (diff) | |
download | qutebrowser-09b588f672071166831e621e86819b24ea6d5544.tar.gz qutebrowser-09b588f672071166831e621e86819b24ea6d5544.zip |
ci: Try better IRC notification
-rw-r--r-- | .github/workflows/ci.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b507c3db..4523504d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -191,12 +191,23 @@ jobs: needs: [linters, tests, tests-docker, codeql] if: always() steps: - - name: Send IRC notification + - name: Send success IRC notification uses: Gottox/irc-message-action@v1 + if: "needs.linters.result == 'success' && needs.tests.result == 'success' && needs.tests-docker.result == 'success' && needs.codeql.result == 'success'" with: server: chat.freenode.net channel: '#qutebrowser-dev' nickname: qutebrowser-bot message: |- - [${{ github.workflow }}] ${{ github.ref }} https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} triggered by ${{ github.actor }} + \0033[${{ github.workflow }}] Success: ${{ github.ref }} https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} triggered by ${{ github.actor }}\003 + linters: ${{ needs.linters.result }}, tests: ${{ needs.tests.result }}, tests-docker: ${{ needs.tests-docker.result }}, codeql: ${{ needs.codeql.result }} + - name: Send non-success IRC notification + uses: Gottox/irc-message-action@v1 + if: "needs.linters.result != 'success' || needs.tests.result != 'success' || needs.tests-docker.result != 'success' || needs.codeql.result != 'success'" + with: + server: chat.freenode.net + channel: '#qutebrowser-dev' + nickname: qutebrowser-bot + message: |- + \0034[${{ github.workflow }}] ${{ github.ref }} https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} triggered by ${{ github.actor }}\003 linters: ${{ needs.linters.result }}, tests: ${{ needs.tests.result }}, tests-docker: ${{ needs.tests-docker.result }}, codeql: ${{ needs.codeql.result }} |