---
id: change/al-go/2379
type: change
title: "#2379 Avoid CI/CD runs for template SHA-only system updates"
summary: The system no longer commits template SHA changes when only an empty commit occurs in the template repository, preventing unnecessary CI/CD triggers with no actual file modifications.
tier: official
language: en
tags:
  - fix
  - main
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:14.134Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2012ec63c963138cb4e6f615801f00b47d25fafd
evidence:
  - kind: code
    url: https://github.com/microsoft/AL-Go/pull/2379
    title: "microsoft/AL-Go#2379: Avoid CI/CD runs for template SHA-only system updates"
    date: "2026-09-30"
    commit: 2012ec63c963138cb4e6f615801f00b47d25fafd
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 2379
repo: microsoft/AL-Go
source_id: al-go-prs
url: https://github.com/microsoft/AL-Go/pull/2379
kind: pr
base_branch: main
major: null
merged_at: "2026-09-30T13:49:54Z"
author: aholstrup1
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 5
  additions: 123
  deletions: 0
  al: 2
apps: []
objects_touched: []
objects_unjoined:
  - path: Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1
    status: modified
    reason: not-in-snapshot
  - path: Actions/CheckForUpdates/CheckForUpdates.ps1
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues:
  - 2358
work_items: []
systems:
  - platform
quote: null
joined_against:
  major: null
  commit: null
---

# #2379 Avoid CI/CD runs for template SHA-only system updates

> The system no longer commits template SHA changes when only an empty commit occurs in the template repository, preventing unnecessary CI/CD triggers with no actual file modifications.

[Pull request](https://github.com/microsoft/AL-Go/pull/2379) · merged into `main` on 2026-09-30 by aholstrup1 · 5 files (+123 -0), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Checks if files were actually updated or removed before persisting a new template SHA
- Retains the original SHA when template URL matches and SHA already exists, skipping early return
- Allows real updates, removals, template switches, and metadata initialization to follow normal path
- SHA remains pinned to last applied revision instead of latest checked revision
- Includes comprehensive test coverage for SHA-only updates, file changes, removals, and template switches
- Behaviour changes for users or extensions.

## AL objects touched

- `Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1`: modified, not in the BC? snapshot
- `Actions/CheckForUpdates/CheckForUpdates.ps1`: modified, not in the BC? snapshot

## Context

- Fixes: [#2358 [Bug]: CICD runs after every commit by 'Update AL-Go System Files'](https://github.com/microsoft/AL-Go/issues/2358) (closed)
- Systems: platform

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
