Skip to content

Commit c4241d2

Browse files
chore(deps): update dependency octokit-plugin-create-pull-request to v5 (#119)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [octokit-plugin-create-pull-request](https://togithub.com/gr2m/octokit-plugin-create-pull-request) | [`^4.0.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/octokit-plugin-create-pull-request/4.0.0/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/octokit-plugin-create-pull-request/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/octokit-plugin-create-pull-request/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/octokit-plugin-create-pull-request/4.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/octokit-plugin-create-pull-request/4.0.0/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>gr2m/octokit-plugin-create-pull-request (octokit-plugin-create-pull-request)</summary> ### [`v5.1.0`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v5.1.0) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v5.0.0...v5.1.0) ##### Features - add support for labels ([#&#8203;131](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/131)) ([0295fd0](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/0295fd017e6eec85d339ea77c147f6a28b515d05)) ### [`v5.0.0`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v5.0.0) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.2.2...v5.0.0) ##### Features - allow update function to trigger file deletion ([#&#8203;130](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/130)) ([ac571dc](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/ac571dcee7ed4b0306f188b6a2c821bbf853d96d)) ##### BREAKING CHANGES - The meaning of `null` has changed! Previously the following snippet was causing a file deletion. ```js 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'; ```js 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. ```js 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`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v4.2.2) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.2.1...v4.2.2) ##### Bug Fixes - **build:** add script to fix `package.json` before publishing ([#&#8203;127](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/127)) ([f961a6d](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/f961a6dfd7e919581fa9b3b88351f0a37f1f61a8)) ### [`v4.2.1`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v4.2.1) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.2.0...v4.2.1) ##### Bug Fixes - run file update functions sequentially ([#&#8203;128](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/128)) ([636cddf](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/636cddfedf293cfbe4148f62966bc404fc8bb637)) ### [`v4.2.0`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v4.2.0) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.1.2...v4.2.0) ##### Features - add `signature` option ([#&#8203;120](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/120)) ([3fe11f6](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/3fe11f62e04c62d439cce93d50a87f3b038327e4)) ### [`v4.1.2`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v4.1.2) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.1.1...v4.1.2) ##### Bug Fixes - **deps:** bump yaml and semantic-release ([3064d0b](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/3064d0b1278fddf5cf24424c0d7cfa2886354108)) ### [`v4.1.1`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v4.1.1) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.1.0...v4.1.1) ##### Bug Fixes - add check to make sure that the head and the base are different ([#&#8203;115](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/115)) ([10e9a30](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/10e9a309ce5f21a0ab9ef3d2372c5d927f9ebc83)) ### [`v4.1.0`](https://togithub.com/gr2m/octokit-plugin-create-pull-request/releases/tag/v4.1.0) [Compare Source](https://togithub.com/gr2m/octokit-plugin-create-pull-request/compare/v4.0.0...v4.1.0) ##### Features - `author` and `committer` options ([#&#8203;110](https://togithub.com/gr2m/octokit-plugin-create-pull-request/issues/110)) ([91f6fed](https://togithub.com/gr2m/octokit-plugin-create-pull-request/commit/91f6fedfdba53f4fefc6108e16b3afbaee4b93f7)) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/gr2m/github-project). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjguMTEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 25f5fa5 commit c4241d2

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ava": "^5.0.0",
3232
"c8": "^8.0.0",
3333
"dotenv": "^16.0.1",
34-
"octokit-plugin-create-pull-request": "^4.0.0",
34+
"octokit-plugin-create-pull-request": "^5.0.0",
3535
"open-cli": "^7.0.1",
3636
"prettier": "^3.0.0",
3737
"tsd": "^0.28.0",

0 commit comments

Comments
 (0)