Skip to content

Commit e910b89

Browse files
committed
feat(helm/generate-docs): output merged-sha
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent c189556 commit e910b89

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

actions/helm/generate-docs/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ inputs:
4444
See https://github.com/actions/create-github-app-token.
4545
required: false
4646

47+
outputs:
48+
merged-sha:
49+
description: "The SHA of the commit that was merged to the base branch. Will be empty if no pull request was created or merged."
50+
value: ${{ steps.create-and-merge-pull-request.outputs.merged-sha }}
51+
4752
runs:
4853
using: "composite"
4954
steps:
@@ -242,6 +247,7 @@ runs:
242247
private-key: ${{ inputs.github-app-key }}
243248

244249
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@b553a696531fbd36743ccbb0c76c717971b8acdb # 0.35.4
250+
id: create-and-merge-pull-request
245251
with:
246252
github-token: ${{ steps.generate-token.outputs.token || inputs.github-token }}
247253
branch: docs/update-helm-chart-docs-${{ steps.prepare-variables.outputs.working-directory-name }}

0 commit comments

Comments
 (0)