fix(ci): changelog
All checks were successful
Run Helm tests / Execute helm template (push) Successful in 10s
Run Helm tests / Execute helm lint (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 25s
Markdown linter / Execute npm run readme:lint (push) Successful in 7s
Markdown linter / Execute npm run readme:link (push) Successful in 35s
Markdown linter / Execute npm run readme:parameters (push) Successful in 9s
Update changelog / changelog (push) Successful in 27s

This commit is contained in:
2025-10-01 22:38:10 +02:00
parent db328cff99
commit 59d41b2f65
2 changed files with 5 additions and 2 deletions

View File

@@ -37,7 +37,8 @@ if ! git sv rn -o /tmp/changelog.md; then
fi
CURL_ARGS=(
"--data-urlencode=\"q=Changelog for upcoming version\""
"--data-urlencode" "q=Changelog for upcoming version"
# "--data-urlencode=\"q=Changelog for upcoming version\""
"--data-urlencode" "state=open"
"--fail"
"--header" "Accept: application/json"
@@ -46,6 +47,8 @@ CURL_ARGS=(
"--silent"
)
echo "curl ${CURL_ARGS[*]} ${CURRENT_GITEA_SERVER_URL}/api/v1/repos/${CURRENT_GITEA_REPOSITORY}/issues"
if ! ISSUE_NUMBER="$(curl "${CURL_ARGS[@]}" "${CURRENT_GITEA_SERVER_URL}/api/v1/repos/${CURRENT_GITEA_REPOSITORY}/issues" | jq '.[].number')"; then
echo "ERROR: Failed query issue number" 1>&2
exit 1

View File

@@ -12,7 +12,7 @@ jobs:
- name: Install packages via apt-get
run: |
apt-get update &&
apt-get install --yes curl jq nodejs
apt-get install --yes curl jq
- uses: actions/checkout@v5.0.0
with:
fetch-depth: 0