From 4ec31f6df454a7a3cf98e9ad3640b802287e460c Mon Sep 17 00:00:00 2001 From: dvirtz Date: Fri, 17 Jun 2022 11:55:50 +0300 Subject: [PATCH] ci: fix pushing to protected branch --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f064e3c..46bdbb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + fetch-depth: 0 # for commit linting and semantic-release + persist-credentials: false - name: Install Node.js uses: actions/setup-node@v1 with: