From 6a535fe8225d8f964cc45f5a8af2ce9a0fadbbbe Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 2 Aug 2021 03:00:30 -0700 Subject: [PATCH] Update pull_request_dependabot.yml --- .github/workflows/pull_request_dependabot.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request_dependabot.yml b/.github/workflows/pull_request_dependabot.yml index 11bd4d5e..c3787b7c 100644 --- a/.github/workflows/pull_request_dependabot.yml +++ b/.github/workflows/pull_request_dependabot.yml @@ -1,13 +1,12 @@ name: Build PR (Dependabot) on: - pull_request_target: - types: [labeled] + pull_request_target jobs: build: runs-on: ${{ matrix.os }} - if: ${{ github.actor == 'dependabot' || github.actor == 'dependabot[bot]' }} + if: contains(github.event.pull_request.labels.*.name, 'dependencies') strategy: matrix: node-version: [12.x]