Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 23, 2025

Updates the requirements on ondram/ci-detector to permit the latest version.

Changelog

Sourced from ondram/ci-detector's changelog.

4.2.0 - 2024-03-12

  • Require PHP ^7.4.
  • Deprecate Wercker, which ceased to exist.

4.1.0 - 2021-04-14

  • Add SourceHut detection support.

4.0.0 - 2021-02-02

Added

  • getTargetBranch() method to return the name of the branch where current branch is targeted (aka "base branch").
  • Azure DevOps Pipelines detection support.
  • CiDetectorInterface (extended by CiDetector) to allow simpler extension.

Fixed

  • Fix build URL detection on Travis (it always reported travis-ci.org URL, even if the build was on travis-ci.com).

Changed

  • [BC break] Rename methods to make them VCS-agnostic. Use getCommit() instead of getGitCommit() and getBranch() instead of getGitBranch().
  • [BC break] Declare CiDetector constructor final.

Removed

  • [BC break] Remove Travis::TRAVIS_BASE_URL constant.

3.5.1 - 2020-09-04

  • Allow PHP 8.

3.5.0 - 2020-08-25

  • Use more suitable value for "build number" on GitHub Actions.
  • Add Wercker detection support.

3.4.0 - 2020-05-11

  • Add AWS CodeBuild detection support.
  • Add Bitbucket Pipelines support.
  • Allow late static binding in CiDetector::fromEnvironment() when inheriting the class.
  • Fix branch detection in PR builds on AppVeyor, Buddy and GitHub Actions (target branch of the PR was returned instead).

3.3.0 - 2020-03-06

  • Allow injecting instance of Env using CiDetector::fromEnvironment() (useful for environment mocking in unit tests).

3.2.0 - 2020-02-18

  • Add GitHub Actions detection support.
  • Add Buddy detection support.
  • Add getRepositoryName() method to detect repository name (slug) like OndraM/ci-detector (not supported on TeamCity, Jenkins and continuousphp).
  • Add isPullRequest() to detect if current build has been triggered by a pull request (merge request). Be aware that this method returns a TrinaryLogic object to handle cases when it cannot be detected whether build was triggered by a pull request (like on TeamCity and Jenkins CI).
  • Change build URL on AppVeyor to use new permalink URL.

3.1.1 - 2019-11-11

  • Fix Gitlab 9.0+ support (environment variables were renamed in GitLab 9.0+).

... (truncated)

Commits
  • 8b0223b Release version 4.2.0
  • 6d53f12 Do not submit coverage for pull requests build
  • 28962e7 Require PHP 7.4
  • d186fa6 Update PHPUnit configuration
  • afbb1ab Run tests on PHP 8.3
  • ea32328 Ignore azure from markdown link check, because of often false positives
  • f54b046 Update README formatting
  • f74d6f7 Bump actions/checkout from 3 to 4
  • 2a6c6ed Add dependabot to keep eye on github actions
  • 0c8d000 Update Gitlab CI URL
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [ondram/ci-detector](https://github.com/OndraM/ci-detector) to permit the latest version.
- [Changelog](https://github.com/OndraM/ci-detector/blob/main/CHANGELOG.md)
- [Commits](OndraM/ci-detector@4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: ondram/ci-detector
  dependency-version: 4.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 23, 2025
@sonarqubecloud
Copy link

@fain182 fain182 merged commit b2db911 into main Nov 23, 2025
34 checks passed
@dependabot dependabot bot deleted the dependabot/composer/ondram/ci-detector-tw-4.2 branch November 23, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants