Add GitHub Enterprise support (#106)

* Add GitHub url and GitHub Enterprise support

* Add review improvements

* Modify the default value to github.server_url
This commit is contained in:
Pascal Zimmermann
2022-02-18 10:26:44 +01:00
committed by GitHub
parent 8407731efe
commit a7824cd3a2
4 changed files with 11 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ inputs:
description: 'GitHub token or PAT token'
required: true
default: ${{ github.token }}
github_url:
description: 'GitHub url or GitHub Enterprise url'
required: true
default: ${{ github.server_url }}
repository:
description: 'Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
default: ''