From 0ca5baac7c2eb6d87c6a4c407e16905b91df0a1f Mon Sep 17 00:00:00 2001 From: gencraft69ai Date: Tue, 1 Jul 2025 13:47:18 +0200 Subject: [PATCH 1/2] chore(ci): add central SSoT compliance workflow --- .github/workflows/ssot-compliance.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ssot-compliance.yml diff --git a/.github/workflows/ssot-compliance.yml b/.github/workflows/ssot-compliance.yml new file mode 100644 index 0000000..beadfff --- /dev/null +++ b/.github/workflows/ssot-compliance.yml @@ -0,0 +1,17 @@ +# SSoT Compliance Check +# This workflow calls the central, reusable SSoT linter. +# DO NOT add logic here. To update the linter, modify the reusable workflow in gcd-shared-actions. +name: SSoT Compliance Check + +on: + pull_request: + branches: [ main, develop ] + +jobs: + ssot-linting: + # This calls the master workflow from the correct SSoT location. + # The '@main' should be replaced with a specific version tag (e.g., @v1.0) for production stability. + uses: GenCr-ft/gcd-shared-actions/.github/workflows/reusable-ssot-linter.yml@main + with: + # We keep the default behavior which is to fail the job on error. + continue-on-error: false From 1adfe6d5d1d29ebb0df02889aea4885bee4ce151 Mon Sep 17 00:00:00 2001 From: Loig Allain <81003557+loigallain@users.noreply.github.com> Date: Tue, 1 Jul 2025 19:08:51 +0200 Subject: [PATCH 2/2] Update ssot-compliance.yml --- .github/workflows/ssot-compliance.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ssot-compliance.yml b/.github/workflows/ssot-compliance.yml index beadfff..08c18ba 100644 --- a/.github/workflows/ssot-compliance.yml +++ b/.github/workflows/ssot-compliance.yml @@ -11,7 +11,9 @@ jobs: ssot-linting: # This calls the master workflow from the correct SSoT location. # The '@main' should be replaced with a specific version tag (e.g., @v1.0) for production stability. - uses: GenCr-ft/gcd-shared-actions/.github/workflows/reusable-ssot-linter.yml@main + uses: GenCr-ft/gcd-shared-actions/.github/workflows/reusable-ssot-linter.yml@v1.1.2 + secrets: + CROSS_REPO_PAT: ${{ secrets.CROSS_REPO_PAT }} with: # We keep the default behavior which is to fail the job on error. continue-on-error: false