From 3b52cbf2c3ae3766803a151b3699a35650ee7f60 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Thu, 9 Nov 2023 14:00:55 +0530 Subject: [PATCH] workflows: support commit descriptions Signed-off-by: Jai Luthra --- .github/workflows/gen_win_patches.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gen_win_patches.yml b/.github/workflows/gen_win_patches.yml index c1af50f..9ac783e 100644 --- a/.github/workflows/gen_win_patches.yml +++ b/.github/workflows/gen_win_patches.yml @@ -23,6 +23,10 @@ on: - DCH - Studio Driver - DCH (Hotfix) + description: + description: 'Commit description' + required: false + type: string permissions: contents: write @@ -117,6 +121,6 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add -A - git diff --quiet --exit-code --cached || git commit -m "${{ env.OS }}: add support for ${{ env.VARIANT }} driver ${{ env.VERSION }}" + git diff --quiet --exit-code --cached || git commit -m "${{ env.OS }}: add support for ${{ env.VARIANT }} driver ${{ env.VERSION }}" -m "${{ inputs.description }}" git push origin master echo "Committed and pushed changes"