ci: explain the github.token name in the log

This commit is contained in:
2026-11-22 20:44:01 +01:00
parent e98107dcd7
commit 9df250c75d
+5
View File
@@ -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 }}