From 5a9818bd41142214f159136ef2aeacffae4ff5b1 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 25 Dec 2024 21:05:14 +0100 Subject: [PATCH] ci: add link to run on failure --- .github/workflows/ansible.yml | 2 +- .github/workflows/build_image.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ansible.yml b/.github/workflows/ansible.yml index f17ee06..c38a394 100644 --- a/.github/workflows/ansible.yml +++ b/.github/workflows/ansible.yml @@ -38,7 +38,7 @@ jobs: - name: Notify on failure if: failure() run: | - bretellofier "[brethil/dotfiles] 💥 Build failed" + bretellofier "[brethil/dotfiles] 💥 Build failed https://${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/$GITHUB_RUN_NUMBER" env: BRETELLOFIER_RECIPIENTS: ${{ secrets.BRETELLOFIER_RECIPIENTS }} BRETELLOFIER_TOKEN: ${{ secrets.BRETELLOFIER_TOKEN}} diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 01dd1f9..56682d2 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -35,7 +35,7 @@ jobs: python -m venv . ./pip install git+https://git.decapod.one/brethil/bretellofier - ./bin/bretellofier "[brethil/dotfiles] 💥 Build failed" + ./bin/bretellofier "[brethil/dotfiles] 💥 Build failed https://${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/$GITHUB_RUN_NUMBER" env: BRETELLOFIER_RECIPIENTS: ${{ secrets.BRETELLOFIER_RECIPIENTS }} BRETELLOFIER_TOKEN: ${{ secrets.BRETELLOFIER_TOKEN}}