From 96b9e48b6439a160f2ec81b30a437303be412f45 Mon Sep 17 00:00:00 2001 From: junners Date: Sun, 4 Aug 2024 12:39:38 -0700 Subject: [PATCH] chore: rename repository variables --- .github/workflows/deploy-RELEASE.yml | 4 ++-- .github/workflows/generate-RELEASE.yml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-RELEASE.yml b/.github/workflows/deploy-RELEASE.yml index 26d3f3b..61d5396 100644 --- a/.github/workflows/deploy-RELEASE.yml +++ b/.github/workflows/deploy-RELEASE.yml @@ -7,11 +7,11 @@ ####################################### # Start the job on all push to master # ####################################### -name: 'Build & Deploy - RELEASE' +name: "Build & Deploy - RELEASE" on: release: # Want to run the automation when a release is created - types: ['created'] + types: ["created"] permissions: read-all diff --git a/.github/workflows/generate-RELEASE.yml b/.github/workflows/generate-RELEASE.yml index 6d5bfaf..a36a103 100644 --- a/.github/workflows/generate-RELEASE.yml +++ b/.github/workflows/generate-RELEASE.yml @@ -43,6 +43,10 @@ jobs: run: | npm install --only=production --ignore-scripts echo "install done" + git config --global user.name ${{ vars.USER_NAME }} + echo "user name" + git config --global user.email ${{ vars.USER_EMAIL }} + echo "user email" git add . echo "add done" git commit -m "chore(release): ${{ steps.generate-release-number.outputs.NEW_VER }} [skip ci]" --no-verify