Skip to content

Commit

Permalink
Add auto patching
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoBurgess committed Dec 19, 2024
1 parent 184aa8d commit 155a7de
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/Shop-Facade"
schedule:
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
groups:
all-packages:
patterns:
- "*"
18 changes: 18 additions & 0 deletions .github/workflows/dependabot-work-item.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: dependabot-work-item

on:
pull_request:
branches:
- main

jobs:
create-work-item:
if: ${{ github.actor == 'dependabot[bot]' }}
uses: UKHO/repo-auto-patch/.github/workflows/create-pr-work-item.yml@v1
with:
pr-url: ${{ github.event.pull_request.html_url }}
work-item-title: "Shop Facade - Dependabot update"
work-item-description: "Please review PR. Created by the dependabot-work-item action."
work-item-tags: "Shop Facade; TD2; Technical Debt"
secrets:
ado-pat: ${{ secrets.ADO_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.9.0" />
<PackageReference Include="NUnit" Version="4.3.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>

Expand Down

0 comments on commit 155a7de

Please sign in to comment.