Skip to content

Conversation

@mazhelez
Copy link
Collaborator

@mazhelez mazhelez commented Oct 16, 2025

❔What, Why & How

Add support for updating AL-Go files for custom templates

Related to issue: #1931

✅ Checklist

  • Add tests (E2E, unit tests)
  • Update RELEASENOTES.md
  • Update documentation (e.g. for new settings or scenarios)
  • Add telemetry

mazhelez and others added 30 commits October 16, 2025 14:52
@mazhelez mazhelez marked this pull request as ready for review October 30, 2025 16:13
@mazhelez mazhelez requested a review from a team as a code owner October 30, 2025 16:13
Copilot AI review requested due to automatic review settings October 30, 2025 16:13
@mazhelez mazhelez changed the title [Draft] Add support for updating AL-Go files from custom templates Add support for updating AL-Go files from custom templates Oct 30, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for custom AL-Go files through a new customALGoFiles setting, enabling users to manage additional files from custom templates via the "Update AL-Go System Files" workflow.

  • Introduced customALGoFiles setting with filesToUpdate and filesToExclude properties
  • Refactored file update logic to use a more flexible file resolution system
  • Added comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
e2eTests/scenarios/CustomTemplate/runtest.ps1 Fixed typo in comment; added E2E test scenarios for custom workflow and file propagation
Tests/ReadSettings.Test.ps1 Added -Depth 99 parameter to ConvertTo-Json calls to prevent truncation of nested settings
Tests/CheckForUpdates.Action.Test.ps1 Added spacing fixes and comprehensive unit tests for new file resolution functions
Scenarios/settings.md Added documentation for the new customALGoFiles setting with a typo in property name
Scenarios/CustomizingALGoForGitHub.md Added detailed documentation section explaining custom template file usage
RELEASENOTES.md Added release notes entry for the new feature
Actions/CheckForUpdates/CheckForUpdates.ps1 Refactored to use new GetFilesToUpdate function for cleaner file update logic
Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1 Added new functions for file resolution and file-to-update determination
Actions/.Modules/settings.schema.json Added JSON schema definition for customALGoFiles setting
Actions/.Modules/ReadSettings.psm1 Introduced filename constants and added default customALGoFiles setting structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mazhelez and others added 3 commits October 30, 2025 23:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

2 participants