Commit 3b52cbf2 authored by Jai Luthra's avatar Jai Luthra Committed by Jai Luthra

workflows: support commit descriptions

Signed-off-by: default avatarJai Luthra <me@jailuthra.in>
parent 16e95c3b
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment