mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-25 06:57:19 +00:00
workflows: support commit descriptions
Signed-off-by: Jai Luthra <me@jailuthra.in>
This commit is contained in:
parent
16e95c3bd1
commit
3b52cbf2c3
6
.github/workflows/gen_win_patches.yml
vendored
6
.github/workflows/gen_win_patches.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user