Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ad87399
Create renovate.json
OmidID May 6, 2025
dadbcfb
add renovate pipeline
OmidID May 6, 2025
524a513
update renovate version
OmidID May 6, 2025
8d79ce1
fix issue of renovate token
OmidID May 6, 2025
0c5bf5e
Create renovate-config.js
OmidID May 6, 2025
0ab933f
Update renovate.yml
OmidID May 6, 2025
55ac956
Delete .github/configs directory
OmidID May 6, 2025
78c318f
Create renovate-config.js
OmidID May 6, 2025
111aad0
Update renovate-config.js
OmidID May 6, 2025
a64d8f0
Update renovate-config.js
OmidID May 6, 2025
949ae59
remove dry run from renovate
OmidID May 6, 2025
90a186e
Update renovate-config.js
OmidID May 6, 2025
5d86c1d
Update renovate-config.js
OmidID May 8, 2025
98c1534
Update renovate.yml (#79)
OmidID May 8, 2025
5e3e78b
Update renovate.yml
OmidID May 8, 2025
0d88096
Update renovate.yml
OmidID May 8, 2025
52070c9
Migrate config renovate.json (#81)
OmidID May 8, 2025
b9f1eec
Delete renovate.json
OmidID May 8, 2025
f0c7b77
Update renovate.yml
OmidID May 8, 2025
57737de
Add renovate.json (#82)
OmidID May 8, 2025
990ed1b
Update dependency Newtonsoft.Json to 13.0.3 (#83)
OmidID May 8, 2025
d995dd3
Update dependency Xamarin.AndroidX.Core.SplashScreen to 1.0.1.15 (#84)
OmidID May 8, 2025
d5ebaf6
Update renovate.yml
OmidID May 8, 2025
0bba274
Update renovate-config.js
OmidID May 8, 2025
345fcb8
Update renovate.yml
OmidID May 8, 2025
00821f1
Update renovate.yml
OmidID May 8, 2025
a5154e1
move to central package (#87)
OmidID May 8, 2025
4a989d2
Update avalonia monorepo to 11.3.0 (#88)
OmidID May 8, 2025
f9a2580
Update dependency ReactiveUI to 20.2.45 (#89)
OmidID May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/configs/renovate-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
"extends": ["config:recommended", ":disableDependencyDashboard"],
"repositories": ["AvaloniaInside/Shell"],
"platform": "github",
"branchPrefix": "renovate/",
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
"automerge": false,
"forkProcessing": "enabled",
"allowedCommands": [".*"],
"prCreation": "immediate"
};
19 changes: 19 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Renovate Dependency Update

on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Self-hosted Renovate
uses: renovatebot/github-action@v42.0.0
with:
configurationFile: .github/configs/renovate-config.js
token: ${{ secrets.RENOVATE_PAT_TOKEN }}
env:
LOG_LEVEL: debug
Comment on lines +9 to +19

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 9 months ago

To fix the issue, add a permissions block to the workflow. Since the workflow primarily checks out the repository and uses Renovate for dependency updates, it likely only requires contents: read permissions. This ensures that the GITHUB_TOKEN is restricted to read-only access, adhering to the principle of least privilege.

The permissions block should be added at the root level of the workflow to apply to all jobs. If specific jobs require additional permissions, they can override the root-level permissions.


Suggested changeset 1
.github/workflows/renovate.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml
--- a/.github/workflows/renovate.yml
+++ b/.github/workflows/renovate.yml
@@ -6,2 +6,4 @@
   workflow_dispatch:
+permissions:
+  contents: read
 jobs:
EOF
@@ -6,2 +6,4 @@
workflow_dispatch:
permissions:
contents: read
jobs:
Copilot is powered by AI and may make mistakes. Always verify output.
3 changes: 3 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}
1 change: 1 addition & 0 deletions src/AvaloniaInside.Shell.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Files", "Files", "{50F7051E
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
..\README.md = ..\README.md
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShellBottomCustomNavigator", "Example\ShellBottomCustomNavigator\ShellBottomCustomNavigator\ShellBottomCustomNavigator.csproj", "{6D8FCCDB-C66B-4B81-9555-725E1EE912B8}"
Expand Down
8 changes: 4 additions & 4 deletions src/AvaloniaInside.Shell/AvaloniaInside.Shell.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
<AvaloniaResource Include="**\*.axaml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.ReactiveUI" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia" />
<PackageReference Include="Avalonia.Themes.Fluent" />
<PackageReference Include="Avalonia.ReactiveUI" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" />
</ItemGroup>
<ItemGroup>
<UpToDateCheckInput Remove="Assets\avalonia-logo.ico" />
Expand Down
23 changes: 23 additions & 0 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project>
<PropertyGroup>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Avalonia" Version="11.3.0"/>
<PackageVersion Include="Avalonia.Desktop" Version="11.3.0" />
<PackageVersion Include="Avalonia.Android" Version="11.3.0" />
<PackageVersion Include="Avalonia.iOS" Version="11.3.0" />
<PackageVersion Include="Avalonia.Browser" Version="11.3.0" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.3.0"/>
<PackageVersion Include="Avalonia.ReactiveUI" Version="11.3.0" />
<PackageVersion Include="Avalonia.Diagnostics" Version="11.3.0" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.3.0" />
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.3.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Projektanker.Icons.Avalonia" Version="8.3.0" />
<PackageVersion Include="Projektanker.Icons.Avalonia.FontAwesome" Version="8.3.0" />
<PackageVersion Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1.15" />
<PackageVersion Include="ReactiveUI" Version="20.2.45" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Avalonia.Android" Version="$(AvaloniaVersion)"/>
<PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1.1"/>
<PackageReference Include="Avalonia.Android"/>
<PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Avalonia.Browser" Version="$(AvaloniaVersion)"/>
<PackageReference Include="Avalonia.Browser"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="$(AvaloniaVersion)"/>
<PackageReference Include="Avalonia.Desktop"/>
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)"/>
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Avalonia.iOS" Version="$(AvaloniaVersion)"/>
<PackageReference Include="Avalonia.iOS"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.ReactiveUI" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia" />
<PackageReference Include="Avalonia.Themes.Fluent" />
<PackageReference Include="Avalonia.Fonts.Inter" />
<PackageReference Include="Avalonia.ReactiveUI" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Projektanker.Icons.Avalonia" Version="9.0.1" />
<PackageReference Include="Projektanker.Icons.Avalonia.FontAwesome" Version="9.0.1" />
<PackageReference Include="ReactiveUI" Version="20.1.63" />
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Projektanker.Icons.Avalonia" />
<PackageReference Include="Projektanker.Icons.Avalonia.FontAwesome" />
<PackageReference Include="ReactiveUI" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Avalonia.Android" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Android" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="$(AvaloniaVersion)"/>
<PackageReference Include="Avalonia.Desktop"/>
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)"/>
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</ItemGroup>

<ItemGroup>
<!-- <PackageReference Include="Avalonia.Web" Version="$(AvaloniaVersion)"/>-->
<PackageReference Include="Avalonia.Browser" Version="$(AvaloniaVersion)"/>
<!-- <PackageReference Include="Avalonia.Web"/>-->
<PackageReference Include="Avalonia.Browser"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Avalonia.iOS" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.iOS" />
</ItemGroup>

<ItemGroup>
Expand Down
14 changes: 7 additions & 7 deletions src/Example/ShellExample/ShellExample/ShellExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.ReactiveUI" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia" />
<PackageReference Include="Avalonia.Themes.Fluent" />
<PackageReference Include="Avalonia.ReactiveUI" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Projektanker.Icons.Avalonia" Version="8.3.0" />
<PackageReference Include="Projektanker.Icons.Avalonia.FontAwesome" Version="8.3.0" />
<PackageReference Include="Avalonia.Diagnostics" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="Projektanker.Icons.Avalonia" />
<PackageReference Include="Projektanker.Icons.Avalonia.FontAwesome" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading