diff --git a/.github/workflows/dependabot_pr.yml b/.github/workflows/dependabot_pr.yml index 817dbb3e..9d3c1cf1 100644 --- a/.github/workflows/dependabot_pr.yml +++ b/.github/workflows/dependabot_pr.yml @@ -8,7 +8,7 @@ on: jobs: dependabot: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' && github.event.label.name == 'dependencies' }} + if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.issue.labels.*.name, 'dependencies') steps: - name: Dependabot metadata