-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat: add option to include/exclude body as regex target #70
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@amerikan please run |
@stephanmiehe ran |
stephanmiehe
approved these changes
Jul 4, 2023
kodiakhq bot
referenced
this pull request
in X-oss-byte/Canary-nextjs
Oct 10, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/issue-labeler](https://github.com/github/issue-labeler) | action | major | `v2.6` -> `v3.2` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>github/issue-labeler (github/issue-labeler)</summary> ### [`v3.2`](https://github.com/github/issue-labeler/releases/tag/v3.2) [Compare Source](https://github.com/github/issue-labeler/compare/v3.1...v3.2) #### What's Changed - fix: read default token by [@​EndBug](https://github.com/EndBug) in [https://github.com/github/issue-labeler/pull/67](https://github.com/github/issue-labeler/pull/67) - feat: allow the use of custom issue numbers by [@​EndBug](https://github.com/EndBug) in [https://github.com/github/issue-labeler/pull/66](https://github.com/github/issue-labeler/pull/66) - fix: Use the correct input name so the default applies by [@​phated](https://github.com/phated) in [https://github.com/github/issue-labeler/pull/72](https://github.com/github/issue-labeler/pull/72) - feat: Add outputs of the labels added and removed by [@​phated](https://github.com/phated) in [https://github.com/github/issue-labeler/pull/71](https://github.com/github/issue-labeler/pull/71) - docs: GITHUB_TOKEN passing is required by [@​rajbos](https://github.com/rajbos) in [https://github.com/github/issue-labeler/pull/75](https://github.com/github/issue-labeler/pull/75) - feat: add option to include/exclude body as regex target by [@​amerikan](https://github.com/amerikan) in [https://github.com/github/issue-labeler/pull/70](https://github.com/github/issue-labeler/pull/70) #### New Contributors - [@​EndBug](https://github.com/EndBug) made their first contribution in [https://github.com/github/issue-labeler/pull/67](https://github.com/github/issue-labeler/pull/67) - [@​phated](https://github.com/phated) made their first contribution in [https://github.com/github/issue-labeler/pull/72](https://github.com/github/issue-labeler/pull/72) - [@​rajbos](https://github.com/rajbos) made their first contribution in [https://github.com/github/issue-labeler/pull/75](https://github.com/github/issue-labeler/pull/75) - [@​amerikan](https://github.com/amerikan) made their first contribution in [https://github.com/github/issue-labeler/pull/70](https://github.com/github/issue-labeler/pull/70) **Full Changelog**: github/issue-labeler@v3.1...v3.2 ### [`v3.1`](https://github.com/github/issue-labeler/releases/tag/v3.1) [Compare Source](https://github.com/github/issue-labeler/compare/v3.0...v3.1) #### What's Changed - Support empty body and only remove existing labels by [@​dokimiki](https://github.com/dokimiki) in [https://github.com/github/issue-labeler/pull/62](https://github.com/github/issue-labeler/pull/62) #### New Contributors - [@​dokimiki](https://github.com/dokimiki) made their first contribution in [https://github.com/github/issue-labeler/pull/62](https://github.com/github/issue-labeler/pull/62) **Full Changelog**: github/issue-labeler@v3.0...v3.1 ### [`v3.0`](https://github.com/github/issue-labeler/releases/tag/v3.0) [Compare Source](https://github.com/github/issue-labeler/compare/v2.6...v3.0) #### What's Changed Breaking change: Issue labels that do not match a regex will no longer be removed by default unless you set `sync-labels:` to 1 - feat: add sync-labels option by [@​balazsorban44](https://github.com/balazsorban44) in [https://github.com/github/issue-labeler/pull/59](https://github.com/github/issue-labeler/pull/59) **Full Changelog**: github/issue-labeler@v2.6...v3.0 </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. --- - [ ] 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/X-oss-byte/Canary-nextjs).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposal
Typically I only want to check the title of an issue. There doesn't seem to be a current way of only including the title and not the body. For that reason this adds that feature.
Disclaimer: I am not sure how to test this out, so I'm letting my intuition (blindly) guide me on this one. 😅
Implementation
Adds a new
include-body
option to allow to include/exclude body from regex target.For backward compatibility I set the new
include-body
default value to"1"
.I have added some example documentation of usage.
Closes #47