-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>cake-contrib/renovate-presets:cake-issues" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"dotnet.defaultSolution": "src\\Cake.Issues.PullRequests.GitHubActions.sln" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"sdk": { | ||
"allowPrerelease": true, | ||
"version": "8.0.100", | ||
"rollForward": "latestFeature" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
/// </summary> | ||
public class GitHubActionsPullRequestSystem : BasePullRequestSystem | ||
{ | ||
private static readonly char[] Separator = ['\n']; | ||
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
Check warning on line 15 in src/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem.cs GitHub Actions / Build
|
||
private readonly GitHubActionsBuildSettings settings; | ||
|
||
/// <summary> | ||
|
@@ -111,7 +112,7 @@ private void WriteIssues(IEnumerable<IIssue> issues) | |
// Commands don't support line breaks, therefore we only use the first line of the message. | ||
var message = | ||
issue.MessageText | ||
.Split(new[] { '\n' }, StringSplitOptions.RemoveEmptyEntries) | ||
.Split(Separator, StringSplitOptions.RemoveEmptyEntries) | ||
.FirstOrDefault() | ||
?.Trim(); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
</Project> |