diff --git a/.github/workflows/lockfile.yml b/.github/workflows/lockfile.yml index aa1bf165a3..640ace3587 100644 --- a/.github/workflows/lockfile.yml +++ b/.github/workflows/lockfile.yml @@ -14,11 +14,12 @@ jobs: ref: main fetch-depth: 0 token: ${{ secrets.GH_ACCESS_TOKEN }} - - run: ./git-setup.sh website auth api console + - run: | + git config --global user.email "${GITHUB_ACTOR}@me.com" + git config --global user.name "${GITHUB_ACTOR}" + ./git-setup.sh website auth api console - uses: ./.github/actions/yarn-install - name: Commit new lockfile if updated run: | - git config --global user.email "${GITHUB_ACTOR}" - git config --global user.name "${GITHUB_ACTOR}@users.noreply.github.com" git commit -am "Update yarn.lock" git push