From 502fabe0eb6b9a55c69efe021da4302ac3c88301 Mon Sep 17 00:00:00 2001 From: CrimeMoot Date: Sat, 20 Jul 2024 13:41:19 +0500 Subject: [PATCH] fix --- .github/workflows/webhook-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/webhook-test.yml b/.github/workflows/webhook-test.yml index 158d8e19d0d..9cc2cceba76 100644 --- a/.github/workflows/webhook-test.yml +++ b/.github/workflows/webhook-test.yml @@ -2,13 +2,13 @@ name: Webhook Test on: schedule: - - cron: '0 0 * * *' + - cron: '0 0 * * *' push: branches: - - ban_weebhook + - main pull_request: branches: - - ban_weebhook + - main jobs: test-webhook: @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + fetch-depth: - name: Setup .NET SDK uses: actions/setup-dotnet@v2 @@ -33,3 +35,4 @@ jobs: env: WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} run: dotnet test --no-restore --verbosity normal +