diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6f7b70..aa35d06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - persist-credentials: false + persist-credentials: true + fetch-depth: 0 + - name: Setup Git + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" - name: Lint & Test uses: ./.github/actions/build - name: Release @@ -23,3 +28,4 @@ jobs: env: NPM_TOKEN: ${{secrets.npm_token}} GH_TOKEN: ${{secrets.GH_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index b60c564..79db1d8 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "url": "https://github.com/Leanplum/Leanplum-JavaScript-SDK/issues" }, "release": { - "repositoryUrl": "git@github.com:Leanplum/Leanplum-JavaScript-SDK.git", + "repositoryUrl": "https://github.com/Leanplum/Leanplum-JavaScript-SDK.git", "tagFormat": "${version}", "branches": [ "master",