Update action.yml

This commit is contained in:
Piotr Joński 2021-06-24 09:00:26 +02:00 committed by GitHub
parent 280163351f
commit 69e1f423c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@ inputs:
destination-repository-name: destination-repository-name:
description: 'Destination repository' description: 'Destination repository'
required: true required: true
github-server:
description: 'Github server'
default: 'github.com'
required: true
user-email: user-email:
description: 'Email for the git commit' description: 'Email for the git commit'
required: true required: true
@ -29,10 +33,6 @@ inputs:
description: '[Optional] commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin repo' description: '[Optional] commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin repo'
default: 'Update from ORIGIN_COMMIT' default: 'Update from ORIGIN_COMMIT'
required: false required: false
github-server:
description: 'Github server'
default: 'github.com'
required: true
runs: runs:
using: 'docker' using: 'docker'
@ -41,12 +41,13 @@ runs:
- ${{ inputs.source-directory }} - ${{ inputs.source-directory }}
- ${{ inputs.destination-github-username }} - ${{ inputs.destination-github-username }}
- ${{ inputs.destination-repository-name }} - ${{ inputs.destination-repository-name }}
- ${{ inputs.github-server }}
- ${{ inputs.user-email }} - ${{ inputs.user-email }}
- ${{ inputs.user-name }} - ${{ inputs.user-name }}
- ${{ inputs.destination-repository-username }} - ${{ inputs.destination-repository-username }}
- ${{ inputs.target-branch }} - ${{ inputs.target-branch }}
- ${{ inputs.commit-message }} - ${{ inputs.commit-message }}
- ${{ inputs.github-server }}
branding: branding:
icon: 'git-commit' icon: 'git-commit'
color: 'green' color: 'green'