You've already forked helm-gitea
fix(ci): install bash
All checks were successful
Run Helm tests / Execute helm lint (push) Successful in 9s
Run Helm tests / Execute helm template (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 24s
Markdown linter / Execute npm run readme:lint (push) Successful in 7s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Markdown linter / Execute npm run readme:link (push) Successful in 38s
Update changelog / changelog (push) Successful in 6s
All checks were successful
Run Helm tests / Execute helm lint (push) Successful in 9s
Run Helm tests / Execute helm template (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 24s
Markdown linter / Execute npm run readme:lint (push) Successful in 7s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Markdown linter / Execute npm run readme:link (push) Successful in 38s
Update changelog / changelog (push) Successful in 6s
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
DEFAULT_GITEA_SERVER_URL="${GITHUB_SERVER_URL:-"https://gitea.com"}"
|
||||
DEFAULT_GITEA_REPOSITORY="${GITHUB_REPOSITORY:-"gitea/helm-gitea"}"
|
||||
DEFAULT_GITEA_TOKEN="${ISSUE_RW_TOKEN:-""}"
|
||||
|
||||
if [ -z "${1}" ]; then
|
||||
read "Enter hostname of the Gitea instance [${DEFAULT_GITEA_SERVER_URL}]: " CURRENT_GITEA_SERVER_URL
|
||||
read -p "Enter hostname of the Gitea instance [${DEFAULT_GITEA_SERVER_URL}]: " CURRENT_GITEA_SERVER_URL
|
||||
if [ -z "${CURRENT_GITEA_SERVER_URL}" ]; then
|
||||
CURRENT_GITEA_SERVER_URL="${DEFAULT_GITEA_SERVER_URL}"
|
||||
fi
|
||||
@@ -14,7 +14,7 @@ else
|
||||
fi
|
||||
|
||||
if [ -z "${2}" ]; then
|
||||
read "Enter name of the git repository [${DEFAULT_GITEA_REPOSITORY}]: " CURRENT_GITEA_REPOSITORY
|
||||
read -p "Enter name of the git repository [${DEFAULT_GITEA_REPOSITORY}]: " CURRENT_GITEA_REPOSITORY
|
||||
if [ -z "${CURRENT_GITEA_REPOSITORY}" ]; then
|
||||
CURRENT_GITEA_REPOSITORY="${DEFAULT_GITEA_REPOSITORY}"
|
||||
fi
|
||||
@@ -23,7 +23,7 @@ else
|
||||
fi
|
||||
|
||||
if [ -z "${3}" ]; then
|
||||
read "Enter token to access the Gitea instance [${DEFAULT_GITEA_TOKEN}]: " CURRENT_GITEA_TOKEN
|
||||
read -p "Enter token to access the Gitea instance [${DEFAULT_GITEA_TOKEN}]: " CURRENT_GITEA_TOKEN
|
||||
if [ -z "${CURRENT_GITEA_TOKEN}" ]; then
|
||||
CURRENT_GITEA_TOKEN="${DEFAULT_GITEA_TOKEN}"
|
||||
fi
|
||||
|
@@ -12,7 +12,7 @@ jobs:
|
||||
steps:
|
||||
- name: Install packages via apt
|
||||
run: |
|
||||
apk add -q --update --no-cache nodejs curl jq sed
|
||||
apk add -q --update --no-cache nodejs curl bash jq sed
|
||||
- uses: actions/checkout@v5.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
Reference in New Issue
Block a user