1
0
Fork 0

ci: remove extraneous checkouts
All checks were successful
/ pre-run-notify (push) Successful in 52s
/ sast (push) Successful in 52s
/ post-run-notify (push) Successful in 59s

This commit is contained in:
Marc 2024-07-20 19:45:46 -04:00
parent fabbf51317
commit 7501162808
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -5,7 +5,6 @@ jobs:
pre-run-notify: pre-run-notify:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
- uses: https://forge.karnov.club/marc/push-status-to-discord-action@main - uses: https://forge.karnov.club/marc/push-status-to-discord-action@main
id: post-status id: post-status
with: with:
@ -28,9 +27,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v4
- uses: https://forge.karnov.club/marc/push-status-to-discord-action@main - uses: https://forge.karnov.club/marc/push-status-to-discord-action@main
if: ${{ success() }}
with: with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
project-name: ${{ github.repository }} project-name: ${{ github.repository }}
variant: "success"
status: "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"