Commit c4241d2
authored
chore(deps): update dependency octokit-plugin-create-pull-request to v5 (#119)
[](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)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
2 files changed
+14
-14
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments