From 7501162808e6ab0b340f0bba9535ce029b436706 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Sat, 20 Jul 2024 19:45:46 -0400 Subject: [PATCH] ci: remove extraneous checkouts --- .forgejo/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1dc9180..2c17bde 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -5,7 +5,6 @@ jobs: pre-run-notify: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - uses: https://forge.karnov.club/marc/push-status-to-discord-action@main id: post-status with: @@ -28,9 +27,17 @@ jobs: runs-on: ubuntu-latest if: always() steps: - - uses: actions/checkout@v4 - uses: https://forge.karnov.club/marc/push-status-to-discord-action@main + if: ${{ success() }} with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} project-name: ${{ github.repository }} + variant: "success" status: "Success" + - uses: https://forge.karnov.club/marc/push-status-to-discord-action@main + if: ${{ failure() }} + with: + webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} + project-name: ${{ github.repository }} + variant: "failure" + status: "Failure"