Skip to content

Commit 38046d5

Browse files
author
Bot
committed
use checkout instead of custom solution
1 parent 4b6714b commit 38046d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main-workflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
echo "base_ref=${{ github.base_ref }}";
6060
echo "head_ref=${{ github.head_ref }}";
6161
62-
63-
- name: Clone repository
64-
run: |
65-
git clone --depth 1 --no-single-branch https://${{ secrets.GH_PERSONAL_TOKEN }}@github.com/encap/coderush.git .
62+
- name: Checkout
63+
uses: actions/checkout@v2
64+
with:
65+
token: ${{ secrets.GH_PERSONAL_TOKEN }}
6666

6767
- name: Setup Node.js
6868
if: env.all || env.frontend || env.code_submission

0 commit comments

Comments
 (0)