diff --git a/.github/workflows/move-bot-pr-to-review.yaml b/.github/workflows/move-bot-pr-to-review.yaml index 15b068ab19..6a90ecc988 100644 --- a/.github/workflows/move-bot-pr-to-review.yaml +++ b/.github/workflows/move-bot-pr-to-review.yaml @@ -7,13 +7,13 @@ on: pull_request: types: [opened] branches: - - 'dependabot/**' - - 'dependencies/upgrading**' - + - main jobs: move-bot-pr-to-review: runs-on: ubuntu-22.04 + # only run if the branch starts with 'dependabot/' or 'dependencies/upgrading' + if: startsWith(github.head_ref, 'dependabot/') || startsWith(github.head_ref, 'dependencies/upgrading') steps: - uses: actions/checkout@v4