From 31f2afe2c040383685390d2f67a230d2cd06b273 Mon Sep 17 00:00:00 2001 From: Phil <165780796+Phil-NHS@users.noreply.github.com> Date: Wed, 12 Mar 2025 14:36:38 +0000 Subject: [PATCH 1/2] adding dependabot (#3) --- .github/workflows/dependabot.yml | 32 ++++++++ .github/workflows/deploy-gh-pages.yml | 2 +- .../Properties/launchSettings.json | 82 +++++++++---------- 3 files changed, 74 insertions(+), 42 deletions(-) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..faf9724 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,32 @@ +version: 2 +updates: + # Configuration for minor and patch updates + # NuGet packages (.NET projects) + - package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + target-branch: "Automatic_version_update_dependabot" + #ignore: + # - dependency-name: "*" + # update-types: ["version-update:semver-major"] + + # Enable automatic merging + automerge: true + automerge-types: ["minor", "patch", "pin", "digest"] + # Optional: Set version requirement for automerge + versioning-strategy: auto + + + # Configuration for major updates only + #- package-ecosystem: "nuget" + # directory: "/" + # schedule: + # interval: "weekly" + # open-pull-requests-limit: 5 + # target-branch: "Automatic_version_update_dependabot" + # ignore: + # - dependency-name: "*" + # update-types: ["version-update:semver-minor", "version-update:semver-patch"] + # versioning-strategy: auto diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 656c8dc..89dcc12 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -24,7 +24,7 @@ jobs: # Add your tests here if needed - # - name: Test + # - name: Test qqqqTODO # run: dotnet test --no-build --verbosity normal - name: Publish client using client release .csproj logic diff --git a/TestHostPrerenderWASM/TestHostPrerenderWASM/Properties/launchSettings.json b/TestHostPrerenderWASM/TestHostPrerenderWASM/Properties/launchSettings.json index fca3148..2c3526d 100644 --- a/TestHostPrerenderWASM/TestHostPrerenderWASM/Properties/launchSettings.json +++ b/TestHostPrerenderWASM/TestHostPrerenderWASM/Properties/launchSettings.json @@ -1,41 +1,41 @@ -{ - "$schema": "http://json.schemastore.org/launchsettings.json", - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:6887", - "sslPort": 44384 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "http://localhost:5119", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "https://localhost:7141;http://localhost:5119", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } - } +{ + "profiles": { + "http": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "applicationUrl": "http://localhost:5119" + }, + "https": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "applicationUrl": "https://localhost:7141;http://localhost:5119" + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}" + } + }, + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:64776/", + "sslPort": 44344 + } + } +} \ No newline at end of file From 406c8ed7ec815dac88ee028cd71f9cd096cdbb66 Mon Sep 17 00:00:00 2001 From: Phil-NHS Date: Wed, 12 Mar 2025 14:53:10 +0000 Subject: [PATCH 2/2] tweak --- .github/workflows/dependabot.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index faf9724..178cc5f 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -8,17 +8,27 @@ updates: interval: "weekly" open-pull-requests-limit: 10 target-branch: "Automatic_version_update_dependabot" - #ignore: - # - dependency-name: "*" - # update-types: ["version-update:semver-major"] - - # Enable automatic merging - automerge: true + + automerge: + enable: true + allow: + - dependency-type: "all" + - update-type: "minor" + - update-type: "patch" + - update-type: "pin" + - update-type: "digest" automerge-types: ["minor", "patch", "pin", "digest"] # Optional: Set version requirement for automerge - versioning-strategy: auto + versioning-strategy: auto + + + #ignore: + # - dependency-name: "*" + # update-types: ["version-update:semver-major"] + + # Enable automatic merging # Configuration for major updates only #- package-ecosystem: "nuget" # directory: "/"