From cde87856f834b78296c5ed337b56c2df6356a2f7 Mon Sep 17 00:00:00 2001 From: Sven Fehler <38158426+Sv443@users.noreply.github.com> Date: Sat, 23 Mar 2024 15:47:38 +0100 Subject: [PATCH] fix: add PAT so the submodules can be checked out? --- .github/workflows/lint-and-analyze.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/lint-and-analyze.yml b/.github/workflows/lint-and-analyze.yml index 53674d88..f051a8da 100644 --- a/.github/workflows/lint-and-analyze.yml +++ b/.github/workflows/lint-and-analyze.yml @@ -19,6 +19,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive # TODO:FIXME: this is broken - GH CI Error: fatal: No url found for submodule path 'data/jokes' in .gitmodules + token: ${{ secrets.GH_PAT }} - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -40,6 +41,9 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: recursive + token: ${{ secrets.GH_PAT }} - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: