You've already forked helm-gitea
fix(ci): update changelog workflow2
Some checks failed
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 9s
Markdown linter / Execute npm run readme:link (push) Successful in 35s
Markdown linter / Execute npm run readme:parameters (push) Successful in 8s
Update changelog / changelog (push) Failing after 13s
Some checks failed
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 9s
Markdown linter / Execute npm run readme:link (push) Successful in 35s
Markdown linter / Execute npm run readme:parameters (push) Successful in 8s
Update changelog / changelog (push) Failing after 13s
This commit is contained in:
@@ -31,8 +31,8 @@ else
|
|||||||
CURRENT_GITEA_TOKEN=$3
|
CURRENT_GITEA_TOKEN=$3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! git sv rn -o changelog.md; then
|
if ! git sv rn -o /tmp/changelog.md; then
|
||||||
echo "ERROR: Failed to generate changelog.md" 1>&2
|
echo "ERROR: Failed to generate /tmp/changelog.md" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ if ! ISSUE_NUMBER="$(curl "${CURL_ARGS[@]}" "${CURRENT_GITEA_SERVER_URL}/api/v1/
|
|||||||
fi
|
fi
|
||||||
export ISSUE_NUMBER
|
export ISSUE_NUMBER
|
||||||
|
|
||||||
if ! echo "" | jq --raw-input --slurp --arg title 'Changelog for upcoming version' --arg body "$(cat changelog.md)" '{title: $title, body: $body}' 1> /tmp/payload.json; then
|
if ! echo "" | jq --raw-input --slurp --arg title "Changelog for upcoming version" --arg body "$(cat /tmp/changelog.md)" '{title: $title, body: $body}' 1> /tmp/payload.json; then
|
||||||
echo "ERROR: Failed to create JSON payload file" 1>&2
|
echo "ERROR: Failed to create JSON payload file" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user