mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-11-22 18:41:15 +01:00
in input-helper, set commit = core.getInput('commit')
Signed-off-by: James Bradlee <james.bradlee@telenor.no>
This commit is contained in:
parent
650ceb06a8
commit
67b5caa109
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||||
`${github.context.repo.owner}/${github.context.repo.repo}`.toUpperCase()
|
`${github.context.repo.owner}/${github.context.repo.repo}`.toUpperCase()
|
||||||
|
|
||||||
// Source branch, source version
|
// Source branch, source version
|
||||||
|
result.commit = core.getInput('commit')
|
||||||
result.ref = core.getInput('ref')
|
result.ref = core.getInput('ref')
|
||||||
if (!result.ref) {
|
if (!result.ref) {
|
||||||
if (isWorkflowRepository) {
|
if (isWorkflowRepository) {
|
||||||
|
|
Loading…
Reference in a new issue