-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (21 loc) · 748 Bytes
/
Copy pathmain.yml
File metadata and controls
24 lines (21 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Packaging Quality check
# This pipeline will only run when it is manually triggred
on:
workflow_dispatch:
jobs:
validate-standards:
name: Run Standards Validator
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Validation Script
shell: pwsh
run: |
# Only run the check if the work folder exists
if (Test-Path "Work-Packaging-Standards") {
Write-Host "Running standards check on Work-Packaging-Standards folder..."
./Work-Packaging-Standards/Validate-PackagingStandards.ps1
} else {
Write-Host "Folder 'Work-Packaging-Standards' not found. Skipping validation."
}