From d06d68042b65d42a6eb01438fa8ca44d0f9dd028 Mon Sep 17 00:00:00 2001 From: "J-K. Solbakken" Date: Tue, 5 Mar 2024 15:04:21 +0100 Subject: [PATCH] specify creds when pushing --- .github/workflows/master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 34851dc..38b01e2 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -64,7 +64,7 @@ jobs: run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" - git remote set-url origin https://github-actions[bot]:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git + git remote set-url origin https://github-actions[bot]:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git - run: npm version patch -m "[skip ci] bump version %s" - run: git push