Files
helm-gitea/.gitea/workflows/changelog.yml
Renovate Bot 09fd72a5a7 chore(deps): update docker.io/thegeeklab/git-sv docker tag to v2.0.7 (#984)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | patch | `2.0.6` -> `2.0.7` |

---

### Release Notes

<details>
<summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary>

### [`v2.0.7`](https://github.com/thegeeklab/git-sv/releases/tag/v2.0.7)

[Compare Source](https://github.com/thegeeklab/git-sv/compare/v2.0.6...v2.0.7)

#### v2.0.7 (2025-11-04)

##### Bug Fixes

- split commit subject and body before passing to message processor ([#&#8203;249](https://github.com/thegeeklab/git-sv/issues/249)) ([`6bb494a`](https://github.com/thegeeklab/git-sv/commit/6bb494a))
- **deps:** update module github.com/urfave/cli/v3 to v3.5.0 ([#&#8203;248](https://github.com/thegeeklab/git-sv/issues/248)) ([`f93cae0`](https://github.com/thegeeklab/git-sv/commit/f93cae0))

##### Others

- **deps:** update dependency golangci/golangci-lint to v2.6.0 ([#&#8203;247](https://github.com/thegeeklab/git-sv/issues/247)) ([`1018fb2`](https://github.com/thegeeklab/git-sv/commit/1018fb2))
- **deps:** update dependency mvdan/gofumpt to v0.9.2 ([#&#8203;246](https://github.com/thegeeklab/git-sv/issues/246)) ([`211529e`](https://github.com/thegeeklab/git-sv/commit/211529e))
- **docker:** update docker.io/library/golang:1.25.3 docker digest to [`6bac879`](https://github.com/thegeeklab/git-sv/commit/6bac879) ([#&#8203;245](https://github.com/thegeeklab/git-sv/issues/245)) ([`d86a4cc`](https://github.com/thegeeklab/git-sv/commit/d86a4cc))
- **docker:** update docker.io/library/golang:1.25.3 docker digest to [`dd08f76`](https://github.com/thegeeklab/git-sv/commit/dd08f76) ([#&#8203;244](https://github.com/thegeeklab/git-sv/issues/244)) ([`d0dc15f`](https://github.com/thegeeklab/git-sv/commit/d0dc15f))
- **deps:** update golang patch version ([#&#8203;243](https://github.com/thegeeklab/git-sv/issues/243)) ([`138bb8f`](https://github.com/thegeeklab/git-sv/commit/138bb8f))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **Automerge**: Enabled.

â™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xOC4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsia2luZC9kZXBlbmRlbmN5Il19-->

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/984
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2025-11-09 17:05:05 +00:00

33 lines
1.3 KiB
YAML

name: changelog
on:
push:
branches:
- main
jobs:
changelog:
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:2.0.7
steps:
- name: install tools
run: |
apk add -q --update --no-cache nodejs curl jq sed
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Generate upcoming changelog
run: |
git sv rn -o changelog.md
export RELEASE_NOTES=$(cat changelog.md)
export ISSUE_NUMBER=$(curl -s "https://gitea.com/api/v1/repos/gitea/helm-gitea/issues?state=open&q=Changelog%20for%20upcoming%20version" | jq '.[].number')
echo $RELEASE_NOTES
JSON_DATA=$(echo "" | jq -Rs --arg title 'Changelog for upcoming version' --arg body "$(cat changelog.md)" '{title: $title, body: $body}')
if [ -z "$ISSUE_NUMBER" ]; then
curl -s -X POST "https://gitea.com/api/v1/repos/gitea/helm-gitea/issues" -H "Authorization: token ${{ secrets.ISSUE_RW_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
else
curl -s -X PATCH "https://gitea.com/api/v1/repos/gitea/helm-gitea/issues/$ISSUE_NUMBER" -H "Authorization: token ${{ secrets.ISSUE_RW_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
fi