ci: remove extraneous checkouts
This commit is contained in:
parent
fabbf51317
commit
c845bea64b
1 changed files with 9 additions and 5 deletions
|
@ -5,14 +5,12 @@ 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:
|
||||||
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
project-name: ${{ github.repository }}
|
|
||||||
status: "Started"
|
status: "Started"
|
||||||
init: true
|
- run: echo ${{ steps.post-status.outputs.message-id }}
|
||||||
sast:
|
sast:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -28,9 +26,15 @@ 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 }}
|
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 }}
|
||||||
|
variant: "failure"
|
||||||
|
status: "Failure"
|
||||||
|
|
Loading…
Reference in a new issue