ci(flip): issue-done-on-main-merge define GITHUB_TOKEN além de GH_TOKEN (o client Node lia env ausente — flip falhava com labels mentindo)

This commit is contained in:
Francisco Solla 2026-08-23 15:05:26 -03:00
parent ccfc182ac7
commit 870d306b86

View file

@ -38,7 +38,11 @@ jobs:
env:
# The github-api.mjs client reads GITHUB_TOKEN; the built-in token has
# `issues: write` scoped to this repo (the issue tracker is on GitHub).
# GH_TOKEN feeds the `gh` CLI steps; GITHUB_TOKEN feeds the Node client
# (live finding OPS46-S1/PR #794: only GH_TOKEN was set, the flip died
# with "Sem token para a API do GitHub" and the status labels lied).
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v5
# Script is plain Node (stdlib) — no pnpm. Disable package-manager-cache: