Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
detekt:
Expand Down Expand Up @@ -144,14 +145,6 @@ jobs:
- name: Prepare changelog
run: python3 scripts/prepare-release-changelog.py --tag "${{ github.ref_name }}"

- name: Commit changelog
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
git diff --cached --quiet || git commit -m "Prepare changelog for ${{ github.ref_name }}"
git push origin main

- name: Download bundle
uses: actions/download-artifact@master
with:
Expand All @@ -174,6 +167,21 @@ jobs:
release-assets/app-production-release.aab
release-assets/app-production-release.apk

- name: Create changelog pull request
uses: peter-evans/create-pull-request@v8
with:
add-paths: CHANGELOG.md
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: release/prepare-changelog-${{ github.ref_name }}
commit-message: Prepare changelog for ${{ github.ref_name }}
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
delete-branch: true
title: Prepare changelog for ${{ github.ref_name }}
body: |
Promotes the Unreleased changelog entries for `${{ github.ref_name }}`.

This pull request was created by the release workflow after publishing the GitHub release.

deploy-play-store:
needs: [ build ]
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- PR descriptions should state intent, local testing, and UI impact (attach screenshots or screencasts).
- Link issues, call out config or feature flag changes, and note any follow-up work.
- Add release-note-worthy changes to `CHANGELOG.md` under `## [Unreleased]`, using the existing Keep a Changelog categories and markdown format.
- Do not manually promote `Unreleased`, add release dates, or create the next empty `Unreleased` section; the release workflow handles that when a tag is created.
- Do not manually promote `Unreleased`, add release dates, or create the next empty `Unreleased` section; the release workflow handles that when a tag is created, committing the promotion to a release pull request for `main`.

## Security & Configuration Tips
- Signing uses `SIGNING_*` env vars; never commit keystores or secrets.
Expand Down
Loading