Skip to content

feat(auto-merge): add github-token input to replace target-repo/GH_TOKEN#187

Merged
caugner merged 2 commits intomainfrom
auto-merge-with-github-token-input
Feb 5, 2026
Merged

feat(auto-merge): add github-token input to replace target-repo/GH_TOKEN#187
caugner merged 2 commits intomainfrom
auto-merge-with-github-token-input

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Feb 5, 2026

Description

Updates the auto-merge workflow, adding the github-token input that replaces target-repo input and GH_TOKEN secret.

Motivation

Avoids having to pass the current repo as target-repo, while allowing forks to run the workflow if necessary (e.g. for testing, by setting the secret in the fork).

Additional details

This is consistent with other actions like dependabot/fetch-metadata that receive the secret via an input, rather than by passing a secret explicitly.

Related issues and pull requests

Related to #186.

@caugner caugner requested review from a team as code owners February 5, 2026 11:05
@caugner caugner requested review from LeoMcA and dipikabh February 5, 2026 11:05
Comment thread docs/auto-merge.md Outdated
@caugner caugner force-pushed the auto-merge-with-github-token-input branch from 017ee13 to 5460032 Compare February 5, 2026 11:50
@caugner caugner merged commit cb0feef into main Feb 5, 2026
3 checks passed
@caugner caugner deleted the auto-merge-with-github-token-input branch February 5, 2026 11:53
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.

3 participants