From 076ce3ce2d44c0a67088991ba03d822e6f42e038 Mon Sep 17 00:00:00 2001 From: Chlod Alejandro Date: Tue, 28 May 2024 11:16:23 +0800 Subject: [PATCH] ci: checkout submodules --- .github/workflows/ci-cd.yml | 3 +++ .github/workflows/codeql-analysis.yml | 2 ++ .github/workflows/dependency-review.yml | 2 ++ .github/workflows/docs.yml | 1 + .github/workflows/force-deploy.yml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 8349d685..9890b8fc 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -11,6 +11,7 @@ on: - src/** - tests/** - i18n/** + - data/types - .github/workflows/ci-cd.yml - package.json - package-lock.json @@ -24,6 +25,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + submodules: true - name: Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7bae4c08..43caae8a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,6 +39,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + submodules: true # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 0d4a0136..e547eda0 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -16,5 +16,7 @@ jobs: steps: - name: 'Checkout Repository' uses: actions/checkout@v4 + with: + submodules: true - name: 'Dependency Review' uses: actions/dependency-review-action@v4 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3d9fa0e1..8a0de9df 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/checkout@v4 with: path: ./project/ + submodules: true - uses: actions/checkout@v4 with: ref: docs diff --git a/.github/workflows/force-deploy.yml b/.github/workflows/force-deploy.yml index 366722cb..eae2f6b4 100644 --- a/.github/workflows/force-deploy.yml +++ b/.github/workflows/force-deploy.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + submodules: true - name: Setup Node uses: actions/setup-node@v4