From 2496f2c089316226a6d5cc3a0e3d65ec27d001c7 Mon Sep 17 00:00:00 2001 From: Paul LeMarquand Date: Mon, 3 Nov 2025 20:30:12 -0500 Subject: [PATCH] Support .psm1 files in check-licence-header.sh --- .github/workflows/scripts/check-license-header.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scripts/check-license-header.sh b/.github/workflows/scripts/check-license-header.sh index f3e9ce8..fa512e2 100755 --- a/.github/workflows/scripts/check-license-header.sh +++ b/.github/workflows/scripts/check-license-header.sh @@ -91,6 +91,7 @@ while IFS= read -r file_path; do plist) continue ;; # Plists don't support line comments proto) comment_marker='//' ;; ps1) comment_marker='##' ;; + psm1) comment_marker='##' ;; py) comment_marker='##'; header_prefix=$'#!/usr/bin/env python3\n' ;; rb) comment_marker='##'; header_prefix=$'#!/usr/bin/env ruby\n' ;; sh) comment_marker='##'; header_prefix=$'#!/bin/bash\n' ;;