From 2f005bc307b03c089c7a8e9412bc916c0d4a6b99 Mon Sep 17 00:00:00 2001
From: Paula <paula@puppet.com>
Date: Mon, 22 Feb 2021 15:40:35 +0000
Subject: [PATCH] (maint) Updating version and owner in release workflow

---
 moduleroot/.github/workflows/auto_release.yml.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/moduleroot/.github/workflows/auto_release.yml.erb b/moduleroot/.github/workflows/auto_release.yml.erb
index 8f6a79e..47c1b27 100644
--- a/moduleroot/.github/workflows/auto_release.yml.erb
+++ b/moduleroot/.github/workflows/auto_release.yml.erb
@@ -52,12 +52,12 @@ jobs:
       if: ${{ github.repository_owner == '<%= common['owner'] %>' }}
       id: gv
       run: |
-        echo "::set-output name=ver::$(cat metadata.json | jq .version | tr -d \")"
+        echo "::set-output name=ver::$(jq --raw-output .version metadata.json)"
 
     - name: "Commit changes"
       if: ${{ github.repository_owner == '<%= common['owner'] %>' }}
       run: |
-        git config --local user.email "action@github.com"
+        git config --local user.email "${{ github.repository_owner }}@users.noreply.github.com"
         git config --local user.name "GitHub Action"
         git add .
         git commit -m "Release prep v${{ steps.gv.outputs.ver }}"
-- 
GitLab