From 05e3572baf2ce41e1f39c0d8647f602aed041e32 Mon Sep 17 00:00:00 2001 From: Julian Skinner Date: Sun, 2 Feb 2025 20:16:53 -0600 Subject: [PATCH] ci: add github user back into the step vs calling action --- .github/workflows/schedule-release.yml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/schedule-release.yml b/.github/workflows/schedule-release.yml index bfd44f52f..b4f3947ba 100644 --- a/.github/workflows/schedule-release.yml +++ b/.github/workflows/schedule-release.yml @@ -149,8 +149,29 @@ jobs: with: fetch-depth: 0 - - name: Setup - uses: ./.github/workflows/actions/setup + - name: Get Latest + run: git pull + shell: bash + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + + - name: Verify NPM Cache + shell: bash + run: npm cache verify + + - name: Get NPM cache directory + id: npm-cache-dir + shell: bash + run: echo "dir=$(npm config get cache)" >> $GITHUB_ENV + + - name: Configure user + run: | + git config user.name "DSS Automation Bot" + git config user.email "dev+github-bot@kajabi.com" + shell: bash # - name: Restore Core built Cache # uses: ./.github/workflows/actions/download-archive @@ -192,7 +213,6 @@ jobs: run: npx nx release --yes env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: true ### Steps below are used for releasing a specified version type (major, minor, patch, etc.)