diff --git a/.github/workflows/project_board_automation.yml b/.github/workflows/project_board_automation.yml index 24a6cc1..6eb7363 100644 --- a/.github/workflows/project_board_automation.yml +++ b/.github/workflows/project_board_automation.yml @@ -57,7 +57,7 @@ jobs: - name: 'Check if PR raised by bot' id: bot-pr - if: ${{ github.actor == 'dependabot[bot]' }} + if: startsWith(github.head_ref, 'dependabot/') == true uses: actions/github-script@v6.1.0 with: github-token: ${{secrets.GITHUB_TOKEN}}