summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-04-07 06:37:46 +0000
committerQMK Bot <hello@qmk.fm>2023-04-07 06:37:46 +0000
commit5bc514036b094560b16190edc65687d9ec4b82e3 (patch)
tree0f33de9575fbba624184c72a55ca9b4ae07100a5 /.github/workflows
parentb84b62c9679ea2180067f083fd71b398f0e7c334 (diff)
parent2e766a9c7a0888a96ed9108f09a085f4298af0b3 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci_builds.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml
index b5e5bcb4fd..928ddc08e9 100644
--- a/.github/workflows/ci_builds.yml
+++ b/.github/workflows/ci_builds.yml
@@ -10,12 +10,11 @@ on:
 
 jobs:
   ci_builds:
+    if: github.repository == 'qmk/qmk_firmware'
     name: "CI Build"
     runs-on: self-hosted
     timeout-minutes: 1380
 
-    if: github.repository == 'qmk/qmk_firmware'
-
     strategy:
       fail-fast: false
       matrix:
@@ -58,3 +57,12 @@ jobs:
           *.hex
           *.uf2
           .build/failed.*
+
+    - name: 'CI Discord Notification'
+      if: always()
+      working-directory: util/ci/
+      env:
+        DISCORD_WEBHOOK: ${{ secrets.CI_DISCORD_WEBHOOK }}
+      run: |
+        python3 -m pip install -r requirements.txt
+        python3 ./discord-results.py --branch ${{ matrix.branch }} --keymap ${{ matrix.keymap }} --url ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}