(MAINT) pdk update
This commit is contained in:
6
.github/workflows/auto_release.yml
vendored
6
.github/workflows/auto_release.yml
vendored
@@ -46,12 +46,12 @@ jobs:
|
||||
if: ${{ github.repository_owner == 'puppetlabs' }}
|
||||
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 == 'puppetlabs' }}
|
||||
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 }}"
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
branch: "release-prep"
|
||||
delete-branch: true
|
||||
title: "Release prep v${{ steps.gv.outputs.ver }}"
|
||||
body: "Automated release-prep through [pdk-templates](https://github.com/puppetlabs/pdk-templates/blob/main/moduleroot/.github/workflows/auto_release.yml.erb)"
|
||||
body: "Automated release-prep through [pdk-templates](https://github.com/puppetlabs/pdk-templates/blob/main/moduleroot/.github/workflows/auto_release.yml.erb) from commit ${{ github.sha }}"
|
||||
labels: "maintenance"
|
||||
|
||||
- name: PR outputs
|
||||
|
||||
Reference in New Issue
Block a user