ci: explain the github.token name in the log
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user