planetscale/Commit git changes
Commit git changes directly to GitHub using the GraphQL API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 1, 2026
- License
- Apache 2.0
Pinned Snippet
uses: planetscale/ghcommit-action@a6b150b81dca5dd027baa898604418eec9e11465 # v0.2.22tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| commit_message | The commit message to use. | yes | — |
| repo | The name of the repo to commit to in "owner/repo" format. | yes | — |
| branch | The name of the branch to commit to. | yes | — |
| empty | Allow making an empty commit if there are no changes. | no | false |
| file_pattern | File pattern used for `git add`. For example `src/*.js` | no | . |
| repository | Relative file path under $GITHUB_WORKSPACE to the git repository. Defaults to the root of the repository (`.`). | no | . |
Outputs
| name | description |
|---|---|
| commit-url | The URL of the created commit. |
| commit-hash | The hash of the created commit. |