aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2024-07-12 10:19:33 +1000
committerGitHub <[email protected]>2024-07-12 01:19:33 +0100
commit4d4d7b76b04536e022262e832200a83ebcd8f8de (patch)
treea8520de95d155ada10e5093388ae34d884eec188 /util
parentc58c5fa8fabba173de631ee8f38d907c70f5457f (diff)
downloadqmk_firmware-4d4d7b76b04536e022262e832200a83ebcd8f8de.tar.gz
qmk_firmware-4d4d7b76b04536e022262e832200a83ebcd8f8de.zip
[CI] Disable Discord webhook when CI run is cancelled. (#24104)
* Disable Discord webhook when CI run is cancelled. * Include link to binaries in Discord output.
Diffstat (limited to 'util')
-rwxr-xr-xutil/ci/discord-results.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/ci/discord-results.py b/util/ci/discord-results.py
index 0c09a4213a..70f6af4b17 100755
--- a/util/ci/discord-results.py
+++ b/util/ci/discord-results.py
@@ -11,6 +11,7 @@ parser = argparse.ArgumentParser(prog='discord-results.py', description='Sends a
parser.add_argument('-b', '--branch')
parser.add_argument('-k', '--keymap')
parser.add_argument('-u', '--url')
+parser.add_argument('-s', '--sha')
args = parser.parse_args()
qmk_dir = Path(__file__).resolve().parents[2].resolve()
@@ -43,6 +44,7 @@ else:
embed.add_embed_field(name='Build Target', value=f'[**{args.branch}**](https://github.com/qmk/qmk_firmware/tree/{args.branch}) / **{args.keymap}** keymap')
embed.add_embed_field(name='Workflow Run', value=f'[**Link**]({args.url})')
+embed.add_embed_field(name='Firmware Binaries', value=f'[**ci.qmk.fm**](https://ci.qmk.fm/{args.branch}/{args.sha}/index.html)')
embed.set_timestamp()
webhook.add_embed(embed)