Skip to content

Commit 680ec73

Browse files
committed
More uniform git commit messages
1 parent 424f848 commit 680ec73

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

action.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,28 @@ inputs:
3232
required: false
3333
type: boolean
3434
default: true
35-
# git configuration
36-
git-name:
35+
36+
# Git Configuration
37+
git_name:
3738
description: 'Git name configuration for the commit'
3839
required: false
3940
type: string
4041
default: 'Open Catalogi bot'
41-
git-mail:
42+
git_mail:
4243
description: 'Git mail configuration for the commit'
4344
required: false
4445
type: string
4546
default: 'bot@opencatalogi.nl'
46-
git-commit-message:
47-
description: 'The description for the commit'
47+
git_commit_message:
48+
description: 'The description for the commit'
4849
required: false
4950
type: string
5051
default: ${{ github.event.repository.html_url }}
52+
github_organization_url:
53+
description: 'The repository to which the results are limited (used to only look in your own organization)'
54+
required: false
55+
type: string
56+
default: 'https://github.com/${{ github.repository_owner }}'
5157

5258
outputs:
5359
version:
@@ -287,11 +293,11 @@ runs:
287293
if: (contains(github.repository, '.github') && inputs.save)
288294
shell: bash
289295
run: |
290-
git config --local user.email "${{ inputs.git-mail }}"
291-
git config --local user.name "${{ inputs.git-name }}"
296+
git config --local user.email "${{ inputs.git_mail }}"
297+
git config --local user.name "${{ inputs.git_name }}"
292298
git pull
293299
git add open*atalogi.y*ml
294-
git commit -m "${{ inputs.git-commit-message }}" || echo "No changes to commit"
300+
git commit -m "${{ inputs.git_commit_message }}" || echo "No changes to commit"
295301
git push
296302
# Post Repository URL to OpenCatalogi API
297303
- name: Post Repository URL to OpenCatalogi API

0 commit comments

Comments
 (0)