-
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from ionite34/release-2.8.1
Release 2.8.1
- Loading branch information
Showing
18 changed files
with
307 additions
and
99 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Automatic Backport | ||
|
||
on: | ||
pull_request_target: | ||
types: ["labeled", "closed"] | ||
|
||
jobs: | ||
backport: | ||
if: startsWith(github.event.pull_request.labels.*.name, 'backport-to-') | ||
name: Backport PR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Write json | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: ".backportrc.json" | ||
json: | | ||
{ | ||
"targetPRLabels": "backport", | ||
"prTitle": "[{{sourceBranch}} to {{targetBranch}}] backport: {{sourcePullRequest.title}} ({{sourcePullRequest.number}})" | ||
} | ||
- name: Backport Action | ||
uses: sorenlouv/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
auto_backport_label_prefix: backport-to- | ||
|
||
- name: Info log | ||
if: ${{ success() }} | ||
run: cat ~/.backport/backport.info.log | ||
|
||
- name: Debug log | ||
if: ${{ failure() }} | ||
run: cat ~/.backport/backport.debug.log | ||
|
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
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
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
19 changes: 16 additions & 3 deletions
19
StabilityMatrix.Avalonia/DesignData/MockSettingsManager.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
using StabilityMatrix.Core.Services; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using StabilityMatrix.Core.Services; | ||
|
||
namespace StabilityMatrix.Avalonia.DesignData; | ||
|
||
public class MockSettingsManager : SettingsManager | ||
{ | ||
protected override void LoadSettings() {} | ||
protected override void SaveSettings() {} | ||
protected override void LoadSettings(CancellationToken cancellationToken = default) { } | ||
|
||
protected override Task LoadSettingsAsync(CancellationToken cancellationToken = default) | ||
{ | ||
return Task.CompletedTask; | ||
} | ||
|
||
protected override void SaveSettings(CancellationToken cancellationToken = default) { } | ||
|
||
protected override Task SaveSettingsAsync(CancellationToken cancellationToken = default) | ||
{ | ||
return Task.CompletedTask; | ||
} | ||
} |
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
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
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
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
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
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
Oops, something went wrong.