Skip to content

Merge main to dev - #214

Merged
Bryan Soltis (BryanSoltis) merged 31 commits into
devfrom
main
Sep 21, 2026
Merged

Bryan Soltis (BryanSoltis) merged 31 commits into
devfrom
main

Conversation

@BryanSoltis

Copy link
Copy Markdown
Contributor

This pull request introduces several improvements focused on dependency management, build process reliability, and maintainability for both GitHub Actions workflows and the main project. The most significant changes include pinning GitHub Actions to specific commit SHAs for enhanced security and reproducibility, updating and grouping Dependabot configuration, and refactoring the EditModal.razor component for better state management and code clarity.

CI/CD and Dependency Management

  • All GitHub Actions in workflow files are now pinned to specific commit SHAs instead of floating version tags, improving build security and ensuring consistent CI/CD runs. This affects actions such as actions/checkout, github/codeql-action, actions/setup-dotnet, actions/cache, actions/upload-artifact, actions/download-artifact, azure/webapps-deploy, sigstore/cosign-installer, and various Docker actions. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Added a new .github/dependabot.yml configuration file to enable and group automated dependency updates for GitHub Actions, scheduled to run weekly with a 7-day cooldown.

Project File and Package Updates

  • Updated src/AzureNamingTool.csproj to:
    • Bump the project version from 5.0.2 to 5.0.3.
    • Exclude all files in the publish directory from content, compile, embedded resources, and additional files.
    • Upgrade Microsoft.OpenApi from 2.3.10 to 3.9.0 and add SQLitePCLRaw.lib.e_sqlite3 as a new dependency.
    • Grant InternalsVisibleTo for the AzureNamingTool.UnitTests project to support unit testing of internal members. [1] [2] [3] [4]

EditModal Component Refactor

  • Refactored the EditModal.razor component to:
    • Use HashSet<string> for managing optional and excluded resource components, improving state management and performance.
    • Simplify checkbox rendering logic, binding directly to the new sets and handling changes via a dedicated method, removing complex string parsing and JavaScript interop for checkbox state.
    • Streamline the logic for saving and updating resource type options and exclusions, making the code more maintainable and less error-prone. [1] [2] [3] [4] [5] [6] [7] [8]

Bump version to 5.0.2
---
updated-dependencies:
- dependency-name: Microsoft.OpenApi
  dependency-version: 2.7.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
- exclude publish artifacts from project items to prevent BLAZOR106

- fix modal footer placement and tag balance in EditModal

- restore duplicate-name auto increment path and trailing instance replacement

- batch resource type component updates into one SaveAllAsync

- update UiTests target framework to net10.0 and refresh subscription metadata defaults
Bug fixes and security updates
fix(sqlite): avoid unique key conflicts in SaveAllAsync
Pin GitHub Actions to full-length commit SHAs
Bumps the github-actions group with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `3.7.0` | `7.0.1` |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `2.28.1` | `4.37.9` |
| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `2.28.1` | `4.37.9` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `2.28.1` | `4.37.9` |
| [actions/setup-dotnet](https://github.com/actions/setup-dotnet) | `2.2.1` | `6.0.0` |
| [actions/cache](https://github.com/actions/cache) | `3.5.0` | `6.1.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.4.3` | `7.0.1` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `4.1.8` | `8.0.1` |
| [azure/webapps-deploy](https://github.com/azure/webapps-deploy) | `2.2.19` | `3.0.8` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) | `3.3.0` | `4.1.2` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `79abd3f86f79a9d68a23c75a09a9a85889262adf` | `5ac4a31b15f1c45ec652b8af78c2096c3a08368c` |
| [docker/login-action](https://github.com/docker/login-action) | `1.9.0` | `4.6.0` |
| [docker/metadata-action](https://github.com/docker/metadata-action) | `3.3.0` | `6.2.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `2.10.0` | `7.3.0` |


Updates `actions/checkout` from 3.7.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@a37ce91...3d3c42e)

Updates `github/codeql-action/init` from 2.28.1 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@b8d3b6e...cdf488f)

Updates `github/codeql-action/autobuild` from 2.28.1 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@b8d3b6e...cdf488f)

Updates `github/codeql-action/analyze` from 2.28.1 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@b8d3b6e...cdf488f)

Updates `actions/setup-dotnet` from 2.2.1 to 6.0.0
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@8e6bd29...a98b568)

Updates `actions/cache` from 3.5.0 to 6.1.0
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@6f8efc2...55cc834)

Updates `actions/upload-artifact` from 4.4.3 to 7.0.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@b4b15b8...043fb46)

Updates `actions/download-artifact` from 4.1.8 to 8.0.1
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@fa0a91b...3e5f45b)

Updates `azure/webapps-deploy` from 2.2.19 to 3.0.8
- [Release notes](https://github.com/azure/webapps-deploy/releases)
- [Commits](Azure/webapps-deploy@5cfb776...02a81be)

Updates `sigstore/cosign-installer` from 3.3.0 to 4.1.2
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](sigstore/cosign-installer@9614fae...6f9f177)

Updates `docker/setup-buildx-action` from 79abd3f86f79a9d68a23c75a09a9a85889262adf to 5ac4a31b15f1c45ec652b8af78c2096c3a08368c
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@79abd3f...5ac4a31)

Updates `docker/login-action` from 1.9.0 to 4.6.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@28218f9...dbcb813)

Updates `docker/metadata-action` from 3.3.0 to 6.2.0
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](docker/metadata-action@98669ae...dc80280)

Updates `docker/build-push-action` from 2.10.0 to 7.3.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@ac9327e...53b7df9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-dotnet
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/cache
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: 8.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: azure/webapps-deploy
  dependency-version: 3.0.8
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
  dependency-version: 5ac4a31b15f1c45ec652b8af78c2096c3a08368c
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: docker/login-action
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/metadata-action
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/build-push-action
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Ensure update and close buttons always appear on edit configuration card
…nApi-2.7.5

Bump Microsoft.OpenApi from 2.3.10 to 2.7.5
…ctions-a824e365aa

Bump the github-actions group with 14 updates
# Conflicts:
#	src/AzureNamingTool.csproj
#	src/Components/Modals/EditModal.razor
Add tenant-level naming validation, persist resource type checkbox changes, safely batch SQLite replacements, and make instance auto-increment position-aware. Document the fixes in the 5.0.3 release alert and add focused regression coverage.

Fixes #201

Fixes #204

Fixes #205

Fixes #208

Fixes #209
Co-authored-by: BryanSoltis <13591910+BryanSoltis@users.noreply.github.com>
Fix naming configuration regressions and expand resource types
feat: update Azure resource location metadata
Bumps the github-actions group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdf488f...b96794f)

Updates `github/codeql-action/autobuild` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdf488f...b96794f)

Updates `github/codeql-action/analyze` from 4.37.9 to 4.38.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdf488f...b96794f)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/autobuild
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
…ctions-f545b4e0f6

Bump the github-actions group with 3 updates
Copilot AI lite review requested due to automatic review settings September 21, 2026 13:43
@BryanSoltis
Bryan Soltis (BryanSoltis) merged commit f519961 into dev Sep 21, 2026
8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Four unresolved moderate issues remain affecting exclusion handling, generated-name consistency, cache rollback behavior, and validation rules.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

This PR merges main into dev and prepares release 5.0.3 with CI hardening, dependency updates, catalog changes, and component refactoring.

Changes:

  • Pins GitHub Actions and adds grouped weekly Dependabot updates.
  • Updates dependencies, versions, resource metadata, and related tests.
  • Refactors component selection, auto-increment handling, and SQLite persistence.
File Reviewed changes
tests/​AzureNamingTool.UnitTests/​Services/​ResourceTypeServiceTests.cs Tests batched component updates.
tests/​AzureNamingTool.UnitTests/​Services/​ResourceNamingRequestServiceTests.cs Tests Resource Instance replacement.
tests/​AzureNamingTool.UnitTests/​Repositories/​SQLiteConfigurationRepositoryTests.cs Tests SQLite replacement persistence.
tests/​AzureNamingTool.UnitTests/​Helpers/​ValidationHelperTests.cs Tests catalog validation.
tests/​AzureNamingTool.UiTests/​AzureNamingTool.UiTests.csproj Targets .NET 10 and updates AngleSharp.
src/​versionalerts.json Adds 5.0.3 release notes.
src/​Services/​ResourceTypeService.cs Batches component updates.
src/​Services/​ResourceNamingRequestService.cs Updates Resource Instance auto-increment handling.
src/​repository/​resourcetypes.json Updates and expands resource metadata.
src/​repository/​resourcelocations.json Adds Azure locations.
src/​Repositories/​SQLiteConfigurationRepository.cs Separates replacement deletes and inserts.
src/​programsettings.json Updates the tool version.
src/​configurationfileversions.json Updates catalog versions.
src/​Components/​Modals/​EditModal.razor Refactors checkbox state management.
src/​AzureNamingTool.csproj Updates version, dependencies, and publish exclusions.
.github/​workflows/​docker-publish.yml Pins Docker workflow actions.
.github/​workflows/​deploy-azure-naming-tool-to-azure-webapps-dotnet-core.yml Pins deployment actions.
.github/​workflows/​codeql.yml Pins CodeQL actions.
.github/​dependabot.yml Configures weekly grouped updates.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"invalidCharactersEnd": "",
"invalidCharactersConsecutive": "",
"regx": "",
"regx": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}$",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants