-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
424f848
commit 680ec73
Showing
1 changed file
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,22 +32,28 @@ inputs: | |
required: false | ||
type: boolean | ||
default: true | ||
# git configuration | ||
git-name: | ||
|
||
# Git Configuration | ||
git_name: | ||
description: 'Git name configuration for the commit' | ||
required: false | ||
type: string | ||
default: 'Open Catalogi bot' | ||
git-mail: | ||
git_mail: | ||
description: 'Git mail configuration for the commit' | ||
required: false | ||
type: string | ||
default: '[email protected]' | ||
git-commit-message: | ||
description: 'The description for the commit' | ||
git_commit_message: | ||
description: 'The description for the commit' | ||
required: false | ||
type: string | ||
default: ${{ github.event.repository.html_url }} | ||
github_organization_url: | ||
description: 'The repository to which the results are limited (used to only look in your own organization)' | ||
required: false | ||
type: string | ||
default: 'https://github.com/${{ github.repository_owner }}' | ||
|
||
outputs: | ||
version: | ||
|
@@ -287,11 +293,11 @@ runs: | |
if: (contains(github.repository, '.github') && inputs.save) | ||
shell: bash | ||
run: | | ||
git config --local user.email "${{ inputs.git-mail }}" | ||
git config --local user.name "${{ inputs.git-name }}" | ||
git config --local user.email "${{ inputs.git_mail }}" | ||
git config --local user.name "${{ inputs.git_name }}" | ||
git pull | ||
git add open*atalogi.y*ml | ||
git commit -m "${{ inputs.git-commit-message }}" || echo "No changes to commit" | ||
git commit -m "${{ inputs.git_commit_message }}" || echo "No changes to commit" | ||
git push | ||
# Post Repository URL to OpenCatalogi API | ||
- name: Post Repository URL to OpenCatalogi API | ||
|