From 44563bed357ac5bc04bc983663c687b59d7f54dd Mon Sep 17 00:00:00 2001 From: justusbunsi Date: Sun, 23 Feb 2025 14:29:43 +0000 Subject: [PATCH] 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 Co-authored-by: justusbunsi Co-committed-by: justusbunsi --- .gitea/workflows/changelog.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/changelog.yml b/.gitea/workflows/changelog.yml index 7a0c3ef..be26276 100644 --- a/.gitea/workflows/changelog.yml +++ b/.gitea/workflows/changelog.yml @@ -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')