Skip to content

fix(deps): update dependency octokit-plugin-create-pull-request to v5 #29

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
Jul 10, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
octokit-plugin-create-pull-request ^4.0.0 -> ^5.0.0 age adoption passing confidence

Release Notes

gr2m/octokit-plugin-create-pull-request

v5.1.0

Compare Source

Features

v5.0.0

Compare Source

Features
BREAKING CHANGES
  • The meaning of null has changed!

Previously the following snippet was causing a file deletion.

files: {
  "file/to/delete.txt": null
}

If you want to retain this behavior you must use the DELETE_FILE Symbol

import { createPullRequest, DELETE_FILE } from 'octokit-plugin-create-pull-request';

files: {
  "file/to/delete.txt": DELETE_FILE
}

If you want to trigger a file deletion from an update function, you can now do so by returning the deleteFile Symbol.

import { createPullRequest, DELETE_FILE } from 'octokit-plugin-create-pull-request';

files: {
  "file/to/delete.txt": ({ exists, encoding, content }) => {
    const fileContent = Buffer.from(content, encoding).toString("utf-8")

    if (fileContent.includes('abc')) {
      // trigger file deletion
      return DELETE_FILE
    }

    // do not alter file content
    return null;
  }
}

v4.2.2

Compare Source

Bug Fixes
  • build: add script to fix package.json before publishing (#​127) (f961a6d)

v4.2.1

Compare Source

Bug Fixes

v4.2.0

Compare Source

Features

v4.1.2

Compare Source

Bug Fixes
  • deps: bump yaml and semantic-release (3064d0b)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@oscard0m oscard0m merged commit c20f496 into main Jul 10, 2023
@oscard0m oscard0m deleted the renovate/octokit-plugin-create-pull-request-5.x branch July 10, 2023 09:33
@github-actions
Copy link

🎉 This PR is included in version 1.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant