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