From 4dc51ba67cb413cff922e521468dac6efbb0e7d9 Mon Sep 17 00:00:00 2001 From: Vicary Date: Tue, 23 Nov 2021 13:37:04 +0800 Subject: [PATCH] remove workflow dependency --- .github/workflows/dependabot-automerge.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 76eb42899..2ef6d8d7d 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -1,12 +1,5 @@ name: Auto-merge Dependabot minors - -on: - pull_request_target: - workflow_run: - workflows: - - Tests - types: - - completed +on: pull_request_target permissions: pull-requests: write @@ -15,7 +8,7 @@ permissions: jobs: dependabot: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' && github.event.workflow_run.conclusion == 'success' }} + if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Dependabot metadata id: metadata