From b3fc42a4078418fd7c73e78feca1fa633dac2061 Mon Sep 17 00:00:00 2001 From: basilgood Date: Mon, 4 Aug 2025 16:02:34 +0300 Subject: [PATCH] fix(ci): add a wait to start checks --- .github/workflows/automerge.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 43a4d27..173ce35 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,9 +1,9 @@ name: Auto Approve Dependabot PRs -on: +on: pull_request: workflow_call: - + permissions: contents: write pull-requests: write @@ -13,11 +13,9 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.user.login == 'dependabot[bot]' steps: - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v2.4.0 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" + - name: Wait to start checks + run: | + echo "Waiting to start checks"; sleep 20 - name: Approve PR run: gh pr review --approve "$PR_URL" env: