Skip to content

feat(action): wire github.token into GITHUB_TOKEN automatically#109

Merged
benner merged 1 commit into
mainfrom
feat/action-auto-pass-github-token
May 7, 2026
Merged

feat(action): wire github.token into GITHUB_TOKEN automatically#109
benner merged 1 commit into
mainfrom
feat/action-auto-pass-github-token

Conversation

@benner
Copy link
Copy Markdown
Owner

@benner benner commented May 7, 2026

Adds a github-token input defaulting to ${{ github.token }} and threads
it into the run step's env, so action users no longer need the manual
env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} snippet that PR #95's
404-hint pointed them at. Override with a PAT for cross-repo lookups.

Adds a `github-token` input defaulting to `${{ github.token }}` and threads
it into the run step's env, so action users no longer need the manual
`env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}` snippet that PR #95's
404-hint pointed them at. Override with a PAT for cross-repo lookups.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Coverage

Coverage Report (Δ +0.0%)
FileStmtsMissCoverMissing
src/git_commit_guard
   __init__.py5010100% 
TOTAL5010100% 

@benner benner marked this pull request as ready for review May 7, 2026 16:21
@benner benner merged commit e175760 into main May 7, 2026
8 checks passed
@benner benner deleted the feat/action-auto-pass-github-token branch May 7, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant