Skip to content

Commit 413d008

Browse files
committed
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 <[email protected]>
1 parent 73dca64 commit 413d008

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/move-bot-pr-to-review.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
pull_request:
88
types: [opened]
99
branches:
10-
- 'dependabot/**'
11-
- 'dependencies/upgrading**'
12-
10+
- main
1311

1412
jobs:
1513
move-bot-pr-to-review:
1614
runs-on: ubuntu-22.04
15+
# only run if the branch starts with 'dependabot/' or 'dependencies/upgrading'
16+
if: startsWith(github.head_ref, 'dependabot/') || startsWith(github.head_ref, 'dependencies/upgrading')
1717
steps:
1818
- uses: actions/checkout@v4
1919

0 commit comments

Comments
 (0)