From 4d278db6c40600d81c55068f80c1db4f1d6c03f0 Mon Sep 17 00:00:00 2001 From: Mateusz Jenek Date: Tue, 11 Jun 2024 11:05:10 +0200 Subject: [PATCH] chore(ci): add setting up git identity --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cc28dce..fdc6e11 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,6 +38,12 @@ jobs: if: runner.os == 'Linux' run: npx vsce package + - name: Set git identity + if: success() && startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux' + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + - name: Publish if: success() && startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux' run: npx vsce publish ${{ github.ref_name }}