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 }}