Skip to content

Commit a036729

Browse files
committed
Add Dependabot config and bump package versions
- Bump CounterStrikeSharp version - Bump minimum CounterStrikeVersion to avoid broken EyeAngles
1 parent 5ea9184 commit a036729

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

.github/dependabot.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
# .github/dependabot.yml
7+
# Keep GitHub Actions up to date and open a SINGLE PR that aggregates all updates.
8+
9+
version: 2
10+
updates:
11+
- package-ecosystem: "github-actions" # manage versions of actions used in .github/workflows
12+
directory: "/" # repo root (covers .github/workflows)
13+
schedule:
14+
interval: "weekly" # run once a week
15+
day: "monday" # every Monday
16+
time: "04:00" # at 04:00 local time
17+
timezone: "Europe/Sofia"
18+
target-branch: "main" # PRs will target this branch
19+
open-pull-requests-limit: 10 # safety cap (not really needed with grouping)
20+
commit-message:
21+
prefix: "chore" # e.g., "chore: bump actions/*"
22+
include: "scope"
23+
groups:
24+
all-actions: # SINGLE PR with everything inside
25+
patterns: ["*"] # match all actions
26+
update-types: ["major", "minor", "patch"] # include all types of bumps
27+
28+
- package-ecosystem: "nuget" # manage NuGet packages in .csproj/.sln files
29+
directory: "/" # Dependabot discovers projects recursively
30+
schedule:
31+
interval: "weekly" # run once a week
32+
day: "monday" # every Monday
33+
time: "04:00" # at 04:00 local time
34+
timezone: "Europe/Sofia"
35+
target-branch: "main" # PRs will target this branch
36+
open-pull-requests-limit: 10 # safety cap (not really needed with grouping)
37+
commit-message:
38+
prefix: "chore" # e.g., "chore: bump MySqlConnector"
39+
include: "scope"
40+
groups:
41+
all-nuget: # SINGLE PR with everything inside
42+
patterns: ["*"] # match all packages
43+
update-types: ["major", "minor", "patch"] # include all types of bumps

src/SurfTimer.Plugin.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.337" />
17+
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.339" />
1818
<PackageReference Include="MaxMind.GeoIP2" Version="5.2.0" />
1919
<PackageReference Include="MySqlConnector" Version="2.4.0" />
2020
<PackageReference Include="Serilog" Version="4.3.0" />

src/SurfTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You should have received a copy of the GNU Affero General Public License
4747
namespace SurfTimer;
4848

4949
// Gameplan: https://github.com/CS2Surf/Timer/tree/dev/README.md
50-
[MinimumApiVersion(333)]
50+
[MinimumApiVersion(337)]
5151
public partial class SurfTimer : BasePlugin
5252
{
5353
private readonly ILogger<SurfTimer> _logger;

0 commit comments

Comments
 (0)