fix: use `>=` version constraints for action deps to enable Dependabot updates by Copilot · Pull Request #419 · cpp-linter/cpp-linter-action · GitHub
Skip to content

fix: use >= version constraints for action deps to enable Dependabot updates#419

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-dependency-update-issue
Closed

fix: use >= version constraints for action deps to enable Dependabot updates#419
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-dependency-update-issue

Conversation

Copilot AI commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

cpp-linter and clang-tools were pinned with exact == constraints in the action dependency group, causing Dependabot to report "No update possible" — uv lock --upgrade-package cannot change the lockfile when the specifier only allows one exact version.

Changes

  • pyproject.toml: Change action group deps from exact (==) to minimum-version (>=) constraints, consistent with dev/docs groups. The lockfile still pins the runtime version precisely.
  • uv.lock: Regenerated with uv lock --upgrade-package cpp-linter, bumping cpp-linter to 1.12.1 for Python ≥ 3.10 (stays at 1.12.0 for Python < 3.10, as 1.12.1 transitively requires pygit2 ≥ 1.19.2 which dropped 3.9 support).
# before
action = [
    "clang-tools==0.17.0",
    "cpp-linter==1.12.0",
]

# after
action = [
    "clang-tools>=0.17.0",
    "cpp-linter>=1.12.0",
]

@github-actions github-actions Bot added the bug Something isn't working label Apr 3, 2026
…mp cpp-linter to 1.12.1

Agent-Logs-Url: https://github.com/cpp-linter/cpp-linter-action/sessions/b460992a-13de-459d-beaf-8758cb4812f7

Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue with dependency update not triggering fix: use >= version constraints for action deps to enable Dependabot updates Apr 3, 2026
Copilot AI requested a review from shenxianpeng April 3, 2026 18:42
@github-actions

github-actions Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@2bndy5

2bndy5 commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

@2bndy5 2bndy5 closed this Apr 3, 2026
@2bndy5 2bndy5 deleted the copilot/fix-dependency-update-issue branch April 3, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants