chore: install nodejs into changelog creation container (#805)

Follow-up of https://gitea.com/gitea/helm-chart/pulls/794

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/805
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
This commit is contained in:
2025-02-23 14:29:43 +00:00
committed by justusbunsi
parent 6cb068ae12
commit 44563bed35

View File

@ -10,10 +10,12 @@ jobs:
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:1.0.11
steps:
- name: install tools
run: |
apk add -q --update --no-cache nodejs curl jq sed
- uses: actions/checkout@v4
- name: Generate upcoming changelog
run: |
apk add -q --no-cache curl jq sed
git sv rn -o changelog.md
export RELEASE_NOTES=$(cat changelog.md)
export ISSUE_NUMBER=$(curl -s "${{ gitea.event.repository.html_url }}/api/v1/repos/${{ gitea.repository }}/issues?state=open&q=Changelog%20for%20upcoming%20version" | jq '.[].number')