Skip to content

Commit b374891

Browse files
committed
Add input to allow signing release commits
1 parent b3636f9 commit b374891

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/prepare_release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
required: false
1515
default: ''
1616
type: string
17+
sign-commits:
18+
description: 'Sign commits as `github-actions[bot]` when using `GITHUB_TOKEN`, or your own bot when using GitHub App tokens.'
19+
required: false
20+
default: false
21+
type: boolean
1722
working-directory:
1823
description: The working directory where all jobs should be executed. Used for modules in subdirectories like a monorepo or a control repository.
1924
default: '.'
@@ -74,6 +79,7 @@ jobs:
7479
commit-message: "Release ${{ inputs.version }}"
7580
branch: release-prep
7681
delete-branch: true
82+
sign-commits: ${{ inputs.sign-commits }}
7783
title: "Release ${{ inputs.version }}"
7884
labels: skip-changelog
7985
token: '${{ secrets.github_pat }}'

0 commit comments

Comments
 (0)