Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ on:
permissions:
contents: read

# Workflow-level env: exposes GITHUB_TOKEN to every step so mise's
# `aqua:` backend (used for uv / shellcheck / actionlint /
# markdownlint-cli2 / etc) can authenticate its GitHub API calls.
# Without a token, mise hits the unauthenticated rate limit
# (60 requests per hour per IP, shared across all GitHub Actions
# runners) and fails to fetch release tags with a 403. With the
# token, the limit is 5000/hr per token. See
# https://mise.jdx.dev/dev-tools/github-tokens.html for mise's
# supported token sources. The token inherits the workflow's
# `permissions: contents: read` — no write escalation; mise only
# reads release-tag metadata.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Comment thread
AceHack marked this conversation as resolved.
Comment thread
AceHack marked this conversation as resolved.

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
Expand Down
Loading