ahmadnassri / action-dependabot-auto-merge

Automatically merge Dependabot PRs when version comparison is within range
MIT License
341 stars 48 forks source link

Target minor fails to automerge 2.0.0rc2 to 2.0.0rc3 #239

Open woutervh opened 9 months ago

woutervh commented 9 months ago

using following config at https://github.com/libranet/libranet-flask/blob/main/.github/workflows/dependabot-auto-merge.yaml

# see https://github.com/ahmadnassri/action-dependabot-auto-merge
name: Auto Merge Dependabot

on:
  pull_request:

jobs:
  auto-merge:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ahmadnassri/action-dependabot-auto-merge@v2
        with:
          target: minor
          github-token: ${{ secrets.TOKEN_AUTOMERGE }}

this fails to automerge on release-candidate sphinx-rtd-theme from 2.0.0rc2 to 2.0.0rc3:

title: "Bump sphinx-rtd-theme from 2.0.0rc2 to 2.0.0rc3"
depName: sphinx-rtd-theme
from: 2.0.0
to: 2.0.0
dependency type: production
security critical: false
config: all:semver:minor
Warning: no version range detected in PR title
manual merging required