From fab011b87e06d6b78f7a137128efb0f08c1004f3 Mon Sep 17 00:00:00 2001 From: Samreet Singh Date: Thu, 5 Dec 2024 13:59:34 +0100 Subject: [PATCH] Bugfix Corrected branches keyword to adress the target branch the branch of the pr is now checked with head_ref Signed-off-by: Samreet Singh --- .github/workflows/move-bot-pr-to-review.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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