From f69738211bcf40fe5378cabfa37a78475e658573 Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:59:39 +0100 Subject: [PATCH 1/7] Update labeler.yml --- .github/labeler.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 56acb887f..8b095273e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,29 +1,29 @@ ---- PR: - "*" github_actions: - - .github/workflows/* + - ".github/workflows/*" documentation: - - docs/* + - "docs/*" update: - - src/Directory.Build.props + - "src/Directory.Build.props" controls: - - src/Wpf.Ui/Controls/* + - "src/Wpf.Ui/Controls/*" styles: - - src/Wpf.Ui/Styles/* + - "src/Wpf.Ui/Styles/*" icons: - - src/Wpf.Ui/Fonts/FluentSystemIcons-Filled.ttf - - src/Wpf.Ui/Fonts/FluentSystemIcons-Regular.ttf + - "src/Wpf.Ui/Fonts/FluentSystemIcons-Filled.ttf" + - "src/Wpf.Ui/Fonts/FluentSystemIcons-Regular.ttf" dependencies: - - src/Packages.props - - branding/package.json + - "src/Packages.props" + - "branding/package.json" NuGet: - - src/Packages.props + - "src/Packages.props" + From 97620615d2a625c178b15138393b42d12ef79c91 Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:08:04 +0100 Subject: [PATCH 2/7] Update labeler.yml --- .github/labeler.yml | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 8b095273e..cb0a1dd14 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,6 +1,9 @@ PR: - "*" +dotnet: + - '**/*.cs' + github_actions: - ".github/workflows/*" @@ -10,20 +13,28 @@ documentation: update: - "src/Directory.Build.props" -controls: - - "src/Wpf.Ui/Controls/*" - -styles: - - "src/Wpf.Ui/Styles/*" - -icons: - - "src/Wpf.Ui/Fonts/FluentSystemIcons-Filled.ttf" - - "src/Wpf.Ui/Fonts/FluentSystemIcons-Regular.ttf" - dependencies: - "src/Packages.props" - "branding/package.json" + - "src/Packages.props" NuGet: - "src/Packages.props" - + +styles: + - 'src/Wpf.Ui/**/*.xaml' + +themes: + - "src/Wpf.Ui/Appearance/*" + +tray: + - "src/Wpf.Ui.Tray/*" + +controls: + - "src/Wpf.Ui/Controls/*" + +icons: + - "src/Wpf.Ui/Resources/Fonts/*" + +navigation: + - "src/Wpf.Ui/Controls/NavigationView/*" From 9113e68cc64a283cd727f799d98392182c756927 Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:08:13 +0100 Subject: [PATCH 3/7] Update labels.yml --- .github/labels.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/labels.yml b/.github/labels.yml index 396124380..fa1849006 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,4 +1,3 @@ ---- - name: "icons" color: "86CBEC" description: "Fonts and icons updates" @@ -47,6 +46,9 @@ - name: ".NET" color: "7121c6" description: "Pull requests that update .NET code." +- name: "dotnet" + color: "7121c6" + description: "Pull requests that update .NET code." - name: "NuGet" color: "004880" description: "Update of the NuGet package." @@ -71,3 +73,4 @@ - name: "wontfix" color: "ffffff" description: "This will not be worked on." + From ef7ce8765494962e8bfc824ea24481069299dbfb Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:08:52 +0100 Subject: [PATCH 4/7] Update Directory.Build.props --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 5214885e2..a09c48302 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 3.0.0 + 3.0.1 12.0 true From 99f04c2a662615c448a8233ae9b926751d2d15f0 Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:29:40 +0100 Subject: [PATCH 5/7] Update labeler.yml --- .github/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index cb0a1dd14..1516e2e58 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -22,7 +22,7 @@ NuGet: - "src/Packages.props" styles: - - 'src/Wpf.Ui/**/*.xaml' + - "src/Wpf.Ui/**/*.xaml" themes: - "src/Wpf.Ui/Appearance/*" From eefe270b8719f2255c4050bad95b305c659ca1ba Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:30:57 +0100 Subject: [PATCH 6/7] Update TitleBar.cs --- src/Wpf.Ui/Controls/TitleBar/TitleBar.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Wpf.Ui/Controls/TitleBar/TitleBar.cs b/src/Wpf.Ui/Controls/TitleBar/TitleBar.cs index 63a32234e..495553dcf 100644 --- a/src/Wpf.Ui/Controls/TitleBar/TitleBar.cs +++ b/src/Wpf.Ui/Controls/TitleBar/TitleBar.cs @@ -4,6 +4,7 @@ // All Rights Reserved. using System.Diagnostics; +using System.Windows.Input; using Wpf.Ui.Designer; using Wpf.Ui.Extensions; using Wpf.Ui.Input; From bf07aaa63c84e57c5bfd8dd586c7fcb16eeb5c15 Mon Sep 17 00:00:00 2001 From: pomian <13592821+pomianowski@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:39:48 +0100 Subject: [PATCH 7/7] Create codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..884f651c4 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,39 @@ +name: "CodeQL" + +on: + push: + branches: [ main ] + pull_request: + branches: [ development ] + +jobs: + analyze: + name: Analyze + runs-on: windows-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - uses: microsoft/setup-msbuild@v1.3 + with: + msbuild-architecture: x64 + + - name: Setup .NET Core SDK 8.x + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.x + + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build src\Wpf.Ui.Gallery\Wpf.Ui.Gallery.csproj --configuration Release --no-restore + + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: "csharp" + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1