From 714817c8d1e694e80c76c079190cad69475c9b50 Mon Sep 17 00:00:00 2001 From: Naveen <172697+naveensrinivasan@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:49:01 -0500 Subject: [PATCH] chore: CI Docs shim (#57) - Included the CI Docs shim - fixes https://github.com/defenseunicorns/uds-package-sonarqube/issues/56 Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> --- .github/workflows/ci-docs-shim.yaml | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci-docs-shim.yaml diff --git a/.github/workflows/ci-docs-shim.yaml b/.github/workflows/ci-docs-shim.yaml new file mode 100644 index 0000000..02ea9c0 --- /dev/null +++ b/.github/workflows/ci-docs-shim.yaml @@ -0,0 +1,34 @@ +name: CI Docs Shim + +on: + pull_request: + paths: + - "**.md" + - "**.jpg" + - "**.png" + - "**.gif" + - "**.svg" + - "adr/**" + - "docs/**" + - ".gitignore" + - "renovate.json" + - ".release-please-config.json" + - "release-please-config.json" + - "oscal-component.yaml" + - "CODEOWNERS" + - "LICENSE" + - "CONTRIBUTING.md" + - "SECURITY.md" + +jobs: + run-test: + name: Create and Deploy Flavor ${{ matrix.flavor }} + runs-on: "ubuntu-latest" + timeout-minutes: 20 + strategy: + matrix: + flavor: [upstream, registry1] + steps: + - name: Shim for Deploy ${{ matrix.flavor }} + run: | + echo "Documentation-only change detected; marking Deploy ${{ matrix.flavor }} as successful."