cozystack/.github/workflows
Myasnikov Daniil 7d2fe2f7d1
fix(ci): pass app token to Publish draft release step
The Publish draft release step used the workflow's default GITHUB_TOKEN,
which does not return draft releases from listReleases — so the script
failed with "Draft release for vX.Y.Z not found" and every release tag
had to be undrafted manually.

This same bug was fixed once before in 4db55ac5eb ([ci] Add Github
token to fetch draft releases) by adding github-token: GH_PAT to the
listing step. It was lost during the refactor in 66a756b6 that combined
the separate listing/flags/publish steps into a single Publish step,
and not restored when f96b2da1 migrated remaining github-token usages
from GH_PAT to the cozystack-ci App token.

Add github-token: app-token.outputs.token to the merged step so it
shares the same auth as the rest of the workflow.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-04-29 15:47:41 +05:00
..
auto-release.yaml ci: use cozystack org noreply email for bot commits 2026-04-13 16:29:07 +02:00
backport.yaml [ci] Update korthout/backport-action@v3.2.1 2025-12-09 14:34:37 +01:00
codegen-drift.yml ci(api): broaden codegen drift trigger paths and detect untracked files 2026-04-23 22:19:35 +05:00
labels.yaml chore(ci): adopt CNCF/k8s label conventions 2026-04-27 03:15:09 +03:00
pr-labeler.yaml chore(ci): warn on unmapped type or scope in pr-labeler 2026-04-27 13:07:39 +03:00
pre-commit.yml [docs] Update cozyvalues-gen 2026-03-25 15:59:22 +05:00
pull-requests-release.yaml fix(ci): pass app token to Publish draft release step 2026-04-29 15:47:41 +05:00
pull-requests.yaml ci(pull-requests): replace GH_PAT with cozystack-ci GitHub App token 2026-04-13 09:28:52 +02:00
retest.yaml feat(ci): add /retest command to rerun tests from Prepare environment 2026-01-02 21:23:27 +01:00
tags.yaml chore(ci): adopt CNCF/k8s label conventions 2026-04-27 03:15:09 +03:00
update-releasenotes.yaml [workflow] Add GitHub Action to update release notes from changelogs 2025-12-24 15:02:04 +01:00