Update runtests.yml

This commit is contained in:
Oliver Gorwits
2021-08-19 10:45:04 +01:00
committed by GitHub
parent 470aca5c68
commit 98281e7df6

View File

@@ -6,6 +6,10 @@ on:
description: 'Run debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' description: 'Run debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false required: false
default: false default: false
success_irc_squawk:
description: 'Squawk to IRC on successful tests'
required: false
default: false
push: push:
branches: branches:
- master - master
@@ -63,7 +67,7 @@ jobs:
😭 TESTS have FAILED! 👀 https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} 😭 TESTS have FAILED! 👀 https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: IRC test success notification - name: IRC test success notification
uses: Gottox/irc-message-action@v2 uses: Gottox/irc-message-action@v2
if: (! github.event.inputs.debug_enabled) && startsWith(github.ref, 'refs/heads/') && (steps.build_and_run_tests.outcome == 'success') if: github.event.inputs.success_irc_squawk && startsWith(github.ref, 'refs/heads/') && (steps.build_and_run_tests.outcome == 'success')
with: with:
channel: '#netdisco' channel: '#netdisco'
nickname: github-actions nickname: github-actions