diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f04485c..355a3f8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -66,7 +66,7 @@ jobs: with: fetch-depth: 2 - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/main + git fetch --no-tags --prune --depth=1 origin +refs/heads/main:refs/remotes/origin/main - name: Cache rust artifacts uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/js-plugin-build.yaml b/.github/workflows/js-plugin-build.yaml index 5b667c8..96d7f6e 100644 --- a/.github/workflows/js-plugin-build.yaml +++ b/.github/workflows/js-plugin-build.yaml @@ -11,7 +11,7 @@ jobs: with: fetch-depth: 2 - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/main + git fetch --no-tags --prune --depth=1 origin +refs/heads/main:refs/remotes/origin/main - name: Setup Node uses: actions/setup-node@v3 with: diff --git a/.github/workflows/release-js-plugins.yml b/.github/workflows/release-js-plugins.yml index ea63a44..ce222f5 100644 --- a/.github/workflows/release-js-plugins.yml +++ b/.github/workflows/release-js-plugins.yml @@ -21,7 +21,7 @@ jobs: token: ${{ secrets.GH_TOKEN }} - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/main + git fetch --no-tags --prune --depth=1 origin +refs/heads/main:refs/remotes/origin/main - name: Update Master run: | diff --git a/.github/workflows/release-rust-plugins.yml b/.github/workflows/release-rust-plugins.yml index 3da95b0..3613db1 100644 --- a/.github/workflows/release-rust-plugins.yml +++ b/.github/workflows/release-rust-plugins.yml @@ -22,7 +22,7 @@ jobs: with: fetch-depth: 2 - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/main + git fetch --no-tags --prune --depth=1 origin +refs/heads/main:refs/remotes/origin/main - name: Setup Node.js 18.x uses: actions/setup-node@v3