Skip to content

Patch Octokit indirect dependency with pinned commit to Probot GitHub repository #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2025

Conversation

aegilops
Copy link
Collaborator

Upstream npm package @probot/adapter-azure-function has not published a patched release, but the tied GitHub repo is patched.

Hardcode a reference to the latest commit to take advantage of the unreleased patched version.

@Copilot Copilot AI review requested due to automatic review settings May 30, 2025 16:44
@aegilops aegilops merged commit 0232d22 into main May 30, 2025
3 checks passed
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR patches an indirect dependency by pinning the Azure Functions adapter to a specific GitHub commit and updates the Probot dev dependency to the latest major version.

  • Pin @probot/adapter-azure-functions to the patched commit in the Probot repo
  • Bump probot devDependency from v12 to v13 for compatibility with newer features
Comments suppressed due to low confidence (2)

package.json:15

  • Pinning to a specific GitHub commit can introduce fragility and make future updates harder. Consider using a patch mechanism (e.g., npm resolutions or patch-package) and documenting the rationale in the repo’s README or a comment.
"@probot/adapter-azure-functions": "github:probot/adapter-azure-functions#4a0f805a7916c07e6dd9d7f1c29e1e75ea72d190"

package.json:26

  • Upgrading Probot from v12 to v13 may introduce breaking changes. Verify compatibility in your codebase, update any v12-specific patterns, and add or adjust integration tests to cover the new Probot behaviors.
"probot": "^13.4.5"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant