Automatically use the GitHub-provided token to allow most users to avoid explicit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} configuration (#564)

This commit is contained in:
Mateusz Burzyński
2026-01-29 09:35:17 +01:00
committed by GitHub
parent 6af4a7ec08
commit 935fe876b0
6 changed files with 36 additions and 12 deletions
+4
View File
@@ -4,6 +4,10 @@ runs:
using: "node24"
main: "dist/index.js"
inputs:
github-token:
description: "The GitHub token to use for authentication. Defaults to the GitHub-provided token."
required: false
default: ${{ github.token }}
publish:
description: "The command to use to build and publish packages"
required: false