From 3acc575c18b746cfc0cda980e099db58158dc5e5 Mon Sep 17 00:00:00 2001 From: Tomer Figenblat Date: Thu, 6 Oct 2022 14:21:55 +0300 Subject: [PATCH] ci: set release workflow to use a deploy key [skip ci] Signed-off-by: Tomer Figenblat --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72940ed..f6e2cac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - token: ${{ secrets.OCM_BOT_PAT }} - persist-credentials: true + ssh-key: ${{ secrets.DEPLOY_KEY }} - name: Determine next SemVer id: bumper @@ -42,6 +41,11 @@ jobs: run: | npm version ${{ steps.bumper.outputs.new_version }} --no-git-tag-version + - name: Configure git + run: | + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + - name: Commit and push package modifications run: | git add package.json