You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author: kassett Description: This GitHub Action allows you to automatically commit changes to a GitHub repository from within a GitHub Actions workflow. Supports direct commits or pull request creation.
🔧 Inputs
Name
Required
Default
Description
branch
✅
-
The branch to commit to or base branch for PR.
github-token
✅
-
GitHub token used by gh CLI.
use-pull-request
❌
"false"
If true, creates a pull request instead of committing directly.
files
❌
""
Comma-separated list of files to commit. Mutually exclusive with commit-all.
commit-all
❌
"false"
If true, commits all tracked changes. Mutually exclusive with files.
commit-message
❌
"Auto-committed changes"
The commit message.
pull-request-title
❌
"Auto-generated PR"
Title for the pull request.
pull-request-body
❌
"PR created by GitHub Actions."
Body content of the pull request.
pull-request-labels
❌
""
Labels to attach to the PR. The labels must already exist for the repository.