From a53b47f2b83f160096e388e843cbfdbb5b10b569 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 28 Jul 2022 14:30:07 +0200 Subject: [PATCH] Update workflows to not pull submodules anymore --- .github/workflows/ci.yml | 7 ------- .github/workflows/pr.yml | 7 ------- 2 files changed, 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04f3223..9b147dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,13 +18,6 @@ jobs: needs: clang-format steps: - uses: actions/checkout@v2 - - name: Checkout submodules using a PAT - run: | - git config --file .gitmodules --get-regexp url | while read url; do - git config --file=.gitmodules $(echo "$url" | sed -E "s/git@github.com:|https:\/\/github.com\//https:\/\/${{ secrets.CI_PAT }}:${{ secrets.CI_PAT }}@github.com\//") - done - git submodule sync - git submodule update --init --recursive - name: build binary run: | docker build . -t builder diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 045b3e7..171b7bf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,13 +26,6 @@ jobs: needs: clang-format steps: - uses: actions/checkout@v2 - - name: Checkout submodules using a PAT - run: | - git config --file .gitmodules --get-regexp url | while read url; do - git config --file=.gitmodules $(echo "$url" | sed -E "s/git@github.com:|https:\/\/github.com\//https:\/\/${{ secrets.CI_PAT }}:${{ secrets.CI_PAT }}@github.com\//") - done - git submodule sync - git submodule update --init --recursive - name: build binary run: | docker build . -t builder