From 3a5c30158bda66845cd7e51809f0626ab7c5ae31 Mon Sep 17 00:00:00 2001 From: Eli Skeggs Date: Tue, 4 Aug 2020 18:09:47 -0700 Subject: [PATCH] ci: use beequeueci github token instead --- .github/workflows/node.js.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 90ae5a3d..ac103dd5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -23,6 +23,11 @@ jobs: # For commitlint; ideally this would only check out the feature branch's history, but # that's not currently an option. fetch-depth: ${{ github.event_name == 'push' }} + # Necessary to prevent the checkout action from writing credentials to .git/config, which + # semantic-release attempts to use to push despite those credentials being denied the + # push. + # See https://github.com/semantic-release/git/issues/196#issuecomment-601310576. + persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: