From 9df250c75d2283896f349bc9c6737ff9895469f3 Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Sun, 22 Nov 2026 20:44:01 +0100 Subject: [PATCH] ci: explain the github.token name in the log --- .gitea/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c285cc5..fbe621d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -11,6 +11,9 @@ jobs: release: runs-on: nixos steps: + - name: Note about the token + run: | + echo "Note: github.token / GITHUB_TOKEN is Gitea's own per-job token (GitHub-compatible name). It only works on this repo, expires when the job ends, and nothing is sent to GitHub." - name: Checkout run: | set -euo pipefail @@ -26,6 +29,8 @@ jobs: cd dist && sha256sum sirmem-* > SHA256SUMS && cat SHA256SUMS - name: Create release and upload assets env: + # Note: github.token / GITHUB_TOKEN is Gitea's own per-job token (GitHub-compatible name). + # It only works on this repo, expires when the job ends, and nothing is sent to GitHub. TOKEN: ${{ github.token }} SERVER: ${{ github.server_url }} REPO: ${{ github.repository }}