chore(ci): add gh token to release generator (#2591)

* chore(ci): add gh token to release generator

Seems we need to pass the token to gh cli in workflows too

https://github.com/ublue-os/aurora/actions/runs/29793388914/job/88563341082#step:7:13

* consistency

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
inffy 2026-07-21 14:25:02 +03:00 committed by GitHub
parent fe148b3365
commit 4d9908e3d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,7 @@ jobs:
- name: Create Release
if: contains(fromJson('["stable"]'), matrix.version) && (github.event.schedule == '0 1 * * TUE' || contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name))
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TITLE: ${{ steps.generate-release-text.outputs.title }}
TAG: ${{ steps.generate-release-text.outputs.tag }}
BODY_PATH: ./changelog.md