php-actions / phpunit

Run PHPUnit tests in Github Actions.
106 stars 23 forks source link

Dependabot bumps to older versions #49

Closed cmbuckley-nhs closed 10 months ago

cmbuckley-nhs commented 1 year ago

Because there are older releases with higher version numbers, Dependabot will try to bump this action incorrectly.

The workaround is to add the following ignore condition:

ignore:
  - dependency-name: php-actions/phpunit
    versions: ["5", "6", "7", "8", "9"]

v5 and v6 don't have releases/tags, but Dependabot raised PRs for them today, so I've had to ignore those too.

g105b commented 1 year ago

Thank you for bringing this to my attention. This was done when I incorrectly released the action to have parity with PHPUnit's version releases. It made no sense, so I stopped doing that.

I think enough time has passed since this was the case (these past releases are not even compatible with the new version of Github Actions), so I think it would be safe for me to remove the old releases >v5, do you agree?

g105b commented 10 months ago

Removed all releases/tags that are out of order now: https://github.com/php-actions/phpunit/tags